Summary
Stops the animation and makes it inactive immediately so it no longer affects the output.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerState
Syntax
public override void Stop()
Remarks
Sets
Animancer.AnimancerNode.Weight
= 0, Animancer.AnimancerState.IsPlaying
= false, Animancer.AnimancerState.Time
= 0, and
clears the Animancer.AnimancerState.Events
(unless Animancer.AnimancerState.AutomaticallyClearEvents
is disabled).
To freeze the animation in place without ending it, you only need to set Animancer.AnimancerState.IsPlaying
= false
instead. Or to freeze all animations, you can call Animancer.AnimancerPlayable.PauseGraph
.
Return Value
Type | Description |
---|---|
void |