IPlayableWrapper.

Speed Property

Summary

How fast the Animancer.AnimancerState.Time is advancing every frame.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
IPlayableWrapper

Syntax

float Speed { get; set; }

Examples

 void PlayAnimation(AnimancerComponent animancer, AnimationClip clip)
 {
     var state = animancer.Play(clip);

     state.Speed = 1;// Normal speed.
     state.Speed = 2;// Double speed.
     state.Speed = 0.5f;// Half speed.
     state.Speed = -1;// Normal speed playing backwards.
 }

Remarks

1 is the normal speed.

A negative value will play the animation backwards.

Animancer Lite does not allow this value to be changed in runtime builds.

Value

Type Description
float