Options
All
  • Public
  • Public/Protected
  • All
Menu

A component that describes tiles in a grid layout.

Hierarchy

Index

Constructors

constructor

Properties

anchor

anchor: Vector3

The anchor point of each tile within its grid cell.

cellGap

cellGap: Vector3

The gap between grid cells, in pixels.

cellSize

cellSize: Vector3

The size of grid cells, in pixels.

position

position: Vector3

The position of each tile in its grid cell relative to anchor.

rotation

rotation: Quaternion

The rotation of each tile in its grid cell relative to anchor

scale

scale: Vector3

The scale of each tile in its grid cell relative to anchor.

tiles

tiles: TileData[]

The list of tiles to draw.

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static anchor

Static cellGap

Static cellSize

Static cid

cid: number

Static position

Static rotation

Static scale

Methods

Static _dtorFn

  • Parameters

    Returns void

Static _fromPtr

  • Parameters

    Returns Tilemap

Static _tempHeapPtr

  • Parameters

    Returns number

Static _toPtr

  • _toPtr(p: number, v: Tilemap): void
  • Parameters

    Returns void

Generated using TypeDoc