AnimationController.PlaybackRate Property
Definition
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.
Gets or sets the rate at which the animation plays.
public:
property float PlaybackRate { float get(); void set(float value); };
float PlaybackRate();
void PlaybackRate(float value);
public float PlaybackRate { get; set; }
var single = animationController.playbackRate;
animationController.playbackRate = single;
Public Property PlaybackRate As Single
Property Value
Single
float
The rate at which the animation plays. The default is 1.0.
Remarks
You can modify the playback rate to speed up or reverse the animation. Playback rate can range from -16 to 16. A positive value greater than 1 speeds up the animation. A negative value reverses the animation.