ISpriteMapOptions

Defines the basic options interface of a SpriteMap

Hierarchy

  • ISpriteMapOptions

Index

Properties

Optional baseTile

Find examples in Playground
baseTile: number

number cell index of the base tile when the system compiles.

Optional colorMultiply

Find examples in Playground
colorMultiply: Vector3

Vector3 scalar of the global RGB values of the SpriteMap.

Optional flipU

Find examples in Playground
flipU: boolean

boolean flip the sprite after its been repositioned by the framing data.

Optional layerCount

Find examples in Playground
layerCount: number

number of layers that the system will reserve in resources.

Optional maxAnimationFrames

Find examples in Playground
maxAnimationFrames: number

number of max animation frames a single cell will reserve in resources.

Optional outputPosition

Find examples in Playground
outputPosition: Vector3

Vector3 of the position of the output plane in World Units.

Optional outputRotation

Find examples in Playground
outputRotation: Vector3

Vector3 of the rotation of the output plane.

Optional outputSize

Find examples in Playground
outputSize: Vector2

Vector2 of the size of the output plane in World Units.

Optional stageSize

Find examples in Playground
stageSize: Vector2

Vector2 of the number of cells in the grid.

Generated using TypeDoc