Skip to content

SpriteFrame.Duration Property

Definition

Namespace: Brine2D.Animation

Duration to display this frame (in seconds). Minimum 0.001 seconds (1 ms). Automatically invalidates the owning AnimationClip's duration cache when changed. Clips that share this frame are all invalidated via weak references, so a clip that has been abandoned (GC eligible) will not prevent collection.

public float Duration { get; set; }

Property Value

System.Single