Struct AnimationSequenceState
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Per-render snapshot of a sequence, returned by UseAnimationSequence(IReadOnlyList<AnimationSequenceStep>, bool, bool, object?[]?).
public readonly struct AnimationSequenceState
Properties
- CurrentLabel
The label of the most recently activated AnimationSequenceStep
Tostep, or null before the first one runs.
- CurrentTransition
The transition that accompanied CurrentLabel.
- IsComplete
True once the cursor has advanced past the last step. Never latches true when
loopis set.
- StepIndex
Index into the authored
stepsarray of the step currently holding the cursor.