Summary
How fast the
Animancer.AnimancerState.Time
of all animations is advancing every frame.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerPlayable
Syntax
public float Speed { get; set; }
Examples
void SetSpeed(AnimancerComponent animancer)
{
animancer.Playable.Speed = 1;// Normal speed.
animancer.Playable.Speed = 2;// Double speed.
animancer.Playable.Speed = 0.5f;// Half speed.
animancer.Playable.Speed = -1;// Normal speed playing backwards.
}
Remarks
1 is the normal speed.
A negative value will play the animations backwards.
Setting this value to 0 would pause all animations, but calling
Animancer.AnimancerPlayable.PauseGraph
is more efficient.
Animancer Lite does not allow this value to be changed in runtime builds.
Value
Type | Description |
---|---|
float |