AnimationLayerSnapshot(float, AnimationLayerMask, AnimationLayerBlendMode, bool) Constructor
Definition¶
Namespace: Brine2D.Animation
An immutable snapshot of an AnimationLayer's runtime configuration. Capture via CaptureSnapshot() and restore via RestoreSnapshot(AnimationLayerSnapshot). Useful for cutscenes or ability-override systems that need to temporarily reconfigure a layer and then cleanly revert it.
public AnimationLayerSnapshot(float Weight, Brine2D.Animation.AnimationLayerMask Mask, Brine2D.Animation.AnimationLayerBlendMode BlendMode, bool IsEnabled);
Parameters¶
Weight System.Single
The blend weight [0, 1] at the time of capture.
Mask AnimationLayerMask
The AnimationLayerMask at the time of capture.
BlendMode AnimationLayerBlendMode
The AnimationLayerBlendMode at the time of capture.
IsEnabled System.Boolean
Whether the layer was enabled at the time of capture.