Share via


PathKeyFrameAnimation.InsertKeyFrame Method

Definition

Overloads

InsertKeyFrame(Single, CompositionPath)

Inserts a key frame.

InsertKeyFrame(Single, CompositionPath, CompositionEasingFunction)

Inserts a key frame with the specified easing.

InsertKeyFrame(Single, CompositionPath)

Inserts a key frame.

[Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
public void InsertKeyFrame(float normalizedProgressKey, CompositionPath path);

Parameters

normalizedProgressKey
Single

The time the key frame should occur at, expressed as a percentage of the animation Duration. Allowed value is from 0.0 to 1.0.

path
CompositionPath

The path used to define the value of the key frame.

Attributes

Applies to

InsertKeyFrame(Single, CompositionPath, CompositionEasingFunction)

Inserts a key frame with the specified easing.

[Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
public void InsertKeyFrame(float normalizedProgressKey, CompositionPath path, CompositionEasingFunction easingFunction);

Parameters

normalizedProgressKey
Single

The time the key frame should occur at, expressed as a percentage of the animation Duration. Allowed value is from 0.0 to 1.0.

path
CompositionPath

The path used to define the value of the key frame.

easingFunction
CompositionEasingFunction

The easing function to use when interpolating between frames.

Attributes

Applies to