ScalarKeyFrameAnimation.InsertKeyFrame Methode

Definition

Überlädt

InsertKeyFrame(Single, Single)

Fügt einen Keyframe ein.

InsertKeyFrame(Single, Single, CompositionEasingFunction)

Fügt einen Keyframe ein.

InsertKeyFrame(Single, Single)

Fügt einen Keyframe ein.

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

Parameter

normalizedProgressKey
Single

float

Die Zeit, zu der der Keyframe auftreten soll, ausgedrückt als Prozentsatz der Dauer der Animation. Der zulässige Wert liegt zwischen 0,0 und 1,0.

value
Single

float

Der Wert des Keyframes.

Attribute

Weitere Informationen

Gilt für:

InsertKeyFrame(Single, Single, CompositionEasingFunction)

Fügt einen Keyframe ein.

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

Parameter

normalizedProgressKey
Single

float

Die Zeit, zu der der Keyframe auftreten soll, ausgedrückt als Prozentsatz der Dauer der Animation. Der zulässige Wert liegt zwischen 0,0 und 1,0.

value
Single

float

Der Wert des Keyframes.

easingFunction
CompositionEasingFunction

Die Beschleunigungsfunktion, die zum Interpolieren zwischen Keyframes verwendet werden soll.

Attribute

Weitere Informationen

Gilt für: