Interface: AnimationFrame
Defined in: animations/types/AnimationFrame.ts:6
Interface representing a single frame of an animation.
Properties
dimensions
dimensions:
Vector2
Defined in: animations/types/AnimationFrame.ts:17
The dimensions of the frame as a value between 0 to 1. This is a percentage of the total sprite sheet dimensions.
offset
offset:
Vector2
Defined in: animations/types/AnimationFrame.ts:11
The offset of the frame in the sprite sheet, scaled from 0 to 1. This is a percentage of the total sprite sheet dimensions.