Skip to content

AnimationBlendSelector1DSnapshot(float, string, float, bool, bool) Constructor

Definition

Namespace: Brine2D.Animation

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

public AnimationBlendSelector1DSnapshot(float Value, string? ActiveClip, float CrossFadeDuration, bool RespectNonLoopingClips, bool AllowZeroSpeed);

Parameters

Value System.Single

The blend parameter value 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.