Vector3KeyFrameAnimation.InsertKeyFrame 方法

定义

重载

InsertKeyFrame(Single, Vector3)

插入关键帧。

InsertKeyFrame(Single, Vector3, CompositionEasingFunction)

插入具有指定缓动函数的关键帧。

InsertKeyFrame(Single, Vector3)

插入关键帧。

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)

参数

normalizedProgressKey
Single

float

关键帧应出现在的时间,以动画 持续时间的百分比表示。 允许的值为 0.0 到 1.0。

value
Vector3 Vector3

float3

关键帧的值。

属性

另请参阅

适用于

InsertKeyFrame(Single, Vector3, CompositionEasingFunction)

插入具有指定缓动函数的关键帧。

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)

参数

normalizedProgressKey
Single

float

关键帧应出现在的时间,以动画 持续时间的百分比表示。 允许的值为 0.0 到 1.0。

value
Vector3 Vector3

float3

关键帧的值。

easingFunction
CompositionEasingFunction

在帧之间内插时要使用的缓动函数。

属性

另请参阅

适用于