QuaternionKeyFrameAnimation.InsertKeyFrame Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
InsertKeyFrame(Single, Quaternion) |
Inserts a key frame. |
InsertKeyFrame(Single, Quaternion, CompositionEasingFunction) |
Inserts a key frame with the specified easing function. |
Inserts a key frame.
public:
virtual void InsertKeyFrame(float normalizedProgressKey, quaternion value) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
void InsertKeyFrame(float const& normalizedProgressKey, quaternion const& value);
[Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
public void InsertKeyFrame(float normalizedProgressKey, Quaternion value);
function insertKeyFrame(normalizedProgressKey, value)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, value As Quaternion)
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
-
Quaternion
Quaternion
quaternion
The value of the key frame.
- Attributes
See also
Applies to
WinRT Build 26100 en andere versies
Product | Versies |
---|---|
WinRT | Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |
Inserts a key frame with the specified easing function.
public:
virtual void InsertKeyFrame(float normalizedProgressKey, quaternion value, CompositionEasingFunction ^ easingFunction) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
void InsertKeyFrame(float const& normalizedProgressKey, quaternion const& value, CompositionEasingFunction const& easingFunction);
[Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
public void InsertKeyFrame(float normalizedProgressKey, Quaternion value, CompositionEasingFunction easingFunction);
function insertKeyFrame(normalizedProgressKey, value, easingFunction)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, value As Quaternion, 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
-
Quaternion
Quaternion
quaternion
The value of the key frame.
- easingFunction
- CompositionEasingFunction
The easing function to use to interpolate between key frames.
- Attributes
See also
Applies to
WinRT Build 26100 en andere versies
Product | Versies |
---|---|
WinRT | Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |