AnimationState
public sealed class AnimationStateOne clip as something that can be playing: its own time, speed, looping and blend weight.
Properties
| Member | Description |
|---|---|
| The clip behind it. |
| Whether it is contributing to the pose at all. |
| Whether it restarts at the end instead of finishing. The default follows . Once an animator has a default state, that one loops and every other one plays once — which is the shape a character file actually has: a cycle to stand in and a set of gestures that return to it. With no default set, the fallback is This is a default and not a rule. Assigning it settles the question for this state permanently, and nothing about |
| The name it is addressed by — the clip's own name, or an index when the file gave none. |
| Playback rate. 1 is as authored; negative runs it backwards. |
| Where the playhead is, in seconds. Settable, which is what a recorder pinning a frame or a caller scrubbing a slider needs — see Writing it is a seek, and |
| How much of the final pose is this state, 0 to 1. Driven by the fade; read-only. |
Events
| Member | Description |
|---|---|
| Raised when a non-looping state reaches the end of its clip. |