Skip to content

AnimationClip.Clone(string) Method

Definition

Namespace: Brine2D.Animation

Creates a shallow copy under a new name. Frames are shared, not deep copied. Event callbacks are not copied.

C#
public Brine2D.Animation.AnimationClip Clone(string newName);

Parameters

newName System.String

Name for the cloned clip.

Returns

AnimationClip