Vector4KeyFrameAnimation
Vector4KeyFrameAnimation
Vector4KeyFrameAnimation
Vector4KeyFrameAnimation
Class
Definition
A time-based animation that targets any Vector4-based property with one or more keyframes.
public : sealed class Vector4KeyFrameAnimation : KeyFrameAnimation, IVector4KeyFrameAnimationpublic sealed class Vector4KeyFrameAnimation : KeyFrameAnimation, IVector4KeyFrameAnimationPublic NotInheritable Class Vector4KeyFrameAnimation Inherits KeyFrameAnimation Implements IVector4KeyFrameAnimation// This API is not available in Javascript.
- Inheritance
-
Vector4KeyFrameAnimationVector4KeyFrameAnimationVector4KeyFrameAnimationVector4KeyFrameAnimation
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
Inherited properties
Remarks
Use the CompostionObject.StartAnimation and CompostionObject.StopAnimation methods to start and stop the animation.
An animation is associated with an object's property by calling CompositionObject::StartAnimation and specifying the property name and the animation. See the remarks section of CompositionObject::StartAnimation for a list of animatable properties.
Methods
InsertKeyFrame(Single, Vector4) InsertKeyFrame(Single, Vector4) InsertKeyFrame(Single, Vector4) InsertKeyFrame(Single, Vector4)
Inserts a key frame.
public : void InsertKeyFrame(float normalizedProgressKey, Vector4 value)public void InsertKeyFrame(Single normalizedProgressKey, Vector4 value)Public Function InsertKeyFrame(normalizedProgressKey As Single, value As Vector4) As void// This API is not available in Javascript.
- normalizedProgressKey
- float Single Single Single
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
- Vector4 Vector4 Vector4 Vector4
The value of the key frame.
- See Also
InsertKeyFrame(Single, Vector4, CompositionEasingFunction) InsertKeyFrame(Single, Vector4, CompositionEasingFunction) InsertKeyFrame(Single, Vector4, CompositionEasingFunction) InsertKeyFrame(Single, Vector4, CompositionEasingFunction)
Inserts a key frame with the specified easing function.
public : void InsertKeyFrame(float normalizedProgressKey, Vector4 value, CompositionEasingFunction easingFunction)public void InsertKeyFrame(Single normalizedProgressKey, Vector4 value, CompositionEasingFunction easingFunction)Public Function InsertKeyFrame(normalizedProgressKey As Single, value As Vector4, easingFunction As CompositionEasingFunction) As void// This API is not available in Javascript.
- normalizedProgressKey
- float Single Single Single
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
- Vector4 Vector4 Vector4 Vector4
The value of the key frame.
- easingFunction
- CompositionEasingFunction CompositionEasingFunction CompositionEasingFunction CompositionEasingFunction
The easing function to use when interpolating between key frames.
- See Also