Skip to content

AnimationBlendSelector2DSnapshot(float, float, string, float, bool, bool) Constructor

Definition

Namespace: Brine2D.Animation

An immutable snapshot of an AnimationBlendSelector2D's runtime state. Capture via CaptureSnapshot() and restore via RestoreSnapshot(AnimationBlendSelector2DSnapshot). Node definitions are not captured.

public AnimationBlendSelector2DSnapshot(float X, float Y, string? ActiveClip, float CrossFadeDuration, bool RespectNonLoopingClips, bool AllowZeroSpeed);

Parameters

X System.Single

The X blend parameter at the time of capture.

Y System.Single

The Y blend parameter at the time of capture.

ActiveClip System.String

The active clip name at the time of capture, or null.

CrossFadeDuration System.Single

The cross-fade duration at the time of capture.

RespectNonLoopingClips System.Boolean

Whether non-looping clip respect was enabled.

AllowZeroSpeed System.Boolean

Whether zero-speed was allowed at the time of capture.