Skip to content

Class "AnimationFrame"⚓︎

Cached data for a single frame of one layer of an animation from an ANM2 file. Shared by all Sprites using the same ANM2 and cannot be modified.

Note that interpolation and root animations have already been baked into these values.

Otherwise, these values correspond to the same ones viewable in the ANM2 editor, and have been named the same way.

Obtained via AnimationLayer:GetFrame().

Functions⚓︎

GetColor ()⚓︎

const Color GetColor ( )⚓︎


GetCrop ()⚓︎

const Vector GetCrop ( )⚓︎


GetHeight ()⚓︎

float GetHeight ( )⚓︎


GetPivot ()⚓︎

const Vector GetPivot ( )⚓︎


GetPos ()⚓︎

const Vector GetPos ( )⚓︎


GetRotation ()⚓︎

float GetRotation ( )⚓︎


GetScale ()⚓︎

const Vector GetScale ( )⚓︎


GetWidth ()⚓︎

float GetWidth ( )⚓︎


IsInterpolated ()⚓︎

boolean IsInterpolated ( )⚓︎


IsVisible ()⚓︎

boolean IsVisible ( )⚓︎