Skip to main content

Interface: AnimationCreationOptions

Defined in: animations/utilities/create-animation.ts:39

Optional parameters for creating an animation.

Properties

endPositionPercentage

endPositionPercentage: Vector2

Defined in: animations/utilities/create-animation.ts:49

The ending position of the animation frames in the sprite sheet, as a percentage.

Default

(1, 1).

startPositionPercentage

startPositionPercentage: Vector2

Defined in: animations/utilities/create-animation.ts:44

The starting position of the animation frames in the sprite sheet, as a percentage.

Default

(0, 0).