A frame used by a SpriteAnimation in a gdjs.SpriteRuntimeObject.

It contains the texture displayed as well as information like the points position or the collision mask.

Type Parameters

  • T

Constructors

Properties

center: SpritePoint = ...
customHitBoxes: Polygon[] = []
hasCustomHitBoxes: boolean = false
image: string
origin: SpritePoint = ...
points: Hashtable<SpritePoint>
texture: T

Methods