Share via


AnimationController.PlaybackRate Property

Definition

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.

Applies to