AnimationBlendSelector2DSnapshot Class
An immutable snapshot of an AnimationBlendSelector2D's runtime state. Capture via CaptureSnapshot() and restore via RestoreSnapshot(AnimationBlendSelector2DSnapshot). Node definitions are not captured.
public sealed record AnimationBlendSelector2DSnapshot : System.IEquatable<Brine2D.Animation.AnimationBlendSelector2DSnapshot>
Inheritance System.Object → AnimationBlendSelector2DSnapshot
Implements System.IEquatable<AnimationBlendSelector2DSnapshot>
| Constructors | |
|---|---|
| AnimationBlendSelector2DSnapshot(float, float, string, float, bool, bool) | An immutable snapshot of an AnimationBlendSelector2D's runtime state. Capture via CaptureSnapshot() and restore via RestoreSnapshot(AnimationBlendSelector2DSnapshot). Node definitions are not captured. |
| Properties | |
|---|---|
| ActiveClip | The active clip name at the time of capture, or null. |
| AllowZeroSpeed | Whether zero-speed was allowed at the time of capture. |
| CrossFadeDuration | The cross-fade duration at the time of capture. |
| RespectNonLoopingClips | Whether non-looping clip respect was enabled. |
| X | The X blend parameter at the time of capture. |
| Y | The Y blend parameter at the time of capture. |