Vector3KeyFrameAnimation.InsertKeyFrame Method

Definition

Overloads

InsertKeyFrame(Single, Vector3)

Inserts a key frame.

InsertKeyFrame(Single, Vector3, CompositionEasingFunction)

Inserts a key frame with the specified easing function.

InsertKeyFrame(Single, Vector3)

Inserts a key frame.

public:
 virtual void InsertKeyFrame(float normalizedProgressKey, float3 value) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
void InsertKeyFrame(float const& normalizedProgressKey, float3 const& value);
[Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
public void InsertKeyFrame(float normalizedProgressKey, Vector3 value);
function insertKeyFrame(normalizedProgressKey, value)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, value As Vector3)

Parameters

normalizedProgressKey
Single

float

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
Vector3 Vector3

float3

The value of the key frame.

Attributes

See also

Applies to

InsertKeyFrame(Single, Vector3, CompositionEasingFunction)

Inserts a key frame with the specified easing function.

public:
 virtual void InsertKeyFrame(float normalizedProgressKey, float3 value, CompositionEasingFunction ^ easingFunction) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
void InsertKeyFrame(float const& normalizedProgressKey, float3 const& value, CompositionEasingFunction const& easingFunction);
[Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
public void InsertKeyFrame(float normalizedProgressKey, Vector3 value, CompositionEasingFunction easingFunction);
function insertKeyFrame(normalizedProgressKey, value, easingFunction)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, value As Vector3, easingFunction As CompositionEasingFunction)

Parameters

normalizedProgressKey
Single

float

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
Vector3 Vector3

float3

The value of the key frame.

easingFunction
CompositionEasingFunction

The easing function to use when interpolating between frames.

Attributes

See also

Applies to