ScalarKeyFrameAnimation.InsertKeyFrame ScalarKeyFrameAnimation.InsertKeyFrame ScalarKeyFrameAnimation.InsertKeyFrame ScalarKeyFrameAnimation.InsertKeyFrame Method

Definition

Overloads

InsertKeyFrame(Single, Single) InsertKeyFrame(Single, Single) InsertKeyFrame(Single, Single) InsertKeyFrame(Single, Single)

Inserts a key frame.

InsertKeyFrame(Single, Single, CompositionEasingFunction) InsertKeyFrame(Single, Single, CompositionEasingFunction) InsertKeyFrame(Single, Single, CompositionEasingFunction) InsertKeyFrame(Single, Single, CompositionEasingFunction)

Inserts a keyframe.

InsertKeyFrame(Single, Single) InsertKeyFrame(Single, Single) InsertKeyFrame(Single, Single) InsertKeyFrame(Single, Single)

Inserts a key frame.

public : void InsertKeyFrame(float normalizedProgressKey, float value)
void InsertKeyFrame(Single normalizedProgressKey, Single value) const;
public void InsertKeyFrame(Single normalizedProgressKey, Single value)
Public Sub InsertKeyFrame(normalizedProgressKey As Single, value As Single)

Parameters

normalizedProgressKey
Single 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.

value
Single Single

The value of the key frame.

See also

InsertKeyFrame(Single, Single, CompositionEasingFunction) InsertKeyFrame(Single, Single, CompositionEasingFunction) InsertKeyFrame(Single, Single, CompositionEasingFunction) InsertKeyFrame(Single, Single, CompositionEasingFunction)

Inserts a keyframe.

public : void InsertKeyFrame(float normalizedProgressKey, float value, CompositionEasingFunction easingFunction)
void InsertKeyFrame(Single normalizedProgressKey, Single value, CompositionEasingFunction easingFunction) const;
public void InsertKeyFrame(Single normalizedProgressKey, Single value, CompositionEasingFunction easingFunction)
Public Sub InsertKeyFrame(normalizedProgressKey As Single, value As Single, easingFunction As CompositionEasingFunction)

Parameters

normalizedProgressKey
Single 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.

value
Single Single

The value of the key frame.

easingFunction
CompositionEasingFunction CompositionEasingFunction

The easing function to use to interpolate between key frames.

See also