PathKeyFrameAnimation.InsertKeyFrame Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
InsertKeyFrame(Single, CompositionPath) |
Fügt einen Keyframe ein. |
InsertKeyFrame(Single, CompositionPath, CompositionEasingFunction) |
Fügt einen Keyframe mit der angegebenen Beschleunigung ein. |
InsertKeyFrame(Single, CompositionPath)
Fügt einen Keyframe ein.
public:
virtual void InsertKeyFrame(float normalizedProgressKey, CompositionPath ^ path) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
void InsertKeyFrame(float const& normalizedProgressKey, CompositionPath const& path);
[Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
public void InsertKeyFrame(float normalizedProgressKey, CompositionPath path);
function insertKeyFrame(normalizedProgressKey, path)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, path As CompositionPath)
Parameter
- normalizedProgressKey
-
Single
float
Die Zeit, zu der der Schlüsselrahmen auftreten soll, ausgedrückt als Prozentsatz der Animationsdauer. Der zulässige Wert liegt zwischen 0,0 und 1,0.
- path
- CompositionPath
Der Pfad, der zum Definieren des Werts des Keyframes verwendet wird.
- Attribute
Gilt für:
InsertKeyFrame(Single, CompositionPath, CompositionEasingFunction)
Fügt einen Keyframe mit der angegebenen Beschleunigung ein.
public:
virtual void InsertKeyFrame(float normalizedProgressKey, CompositionPath ^ path, CompositionEasingFunction ^ easingFunction) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
void InsertKeyFrame(float const& normalizedProgressKey, CompositionPath const& path, CompositionEasingFunction const& easingFunction);
[Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
public void InsertKeyFrame(float normalizedProgressKey, CompositionPath path, CompositionEasingFunction easingFunction);
function insertKeyFrame(normalizedProgressKey, path, easingFunction)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, path As CompositionPath, easingFunction As CompositionEasingFunction)
Parameter
- normalizedProgressKey
-
Single
float
Die Zeit, zu der der Schlüsselrahmen auftreten soll, ausgedrückt als Prozentsatz der Animationsdauer. Der zulässige Wert liegt zwischen 0,0 und 1,0.
- path
- CompositionPath
Der Pfad, der zum Definieren des Werts des Keyframes verwendet wird.
- easingFunction
- CompositionEasingFunction
Die Beschleunigungsfunktion, die beim Interpolieren zwischen Frames verwendet werden soll.
- Attribute
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für