Skip to content

SpriteAnimator.NotifyClipMutated() Method

Definition

Namespace: Brine2D.Animation

Notifies the animator that the active clip's frame list has been structurally mutated (frames removed or cleared) while this animator was playing it. The current frame index is clamped to valid bounds; if all frames were removed the animator is stopped. Call this after any RemoveFrame(SpriteFrame) or ClearFrames() on the CurrentAnimation.

public void NotifyClipMutated();