Properties
layerSize
layer
Size: Size | null = null
maxGID
maxGID
: GID = 0 as unknown as GID
minGID
minGID
: GID = 100000 as unknown as GID
offset
offset
: Vec2 = new Vec2(0, 0)
opacity
opacity: number = 0
ownTiles
ownTiles: boolean = true
tiles
tiles: number[] | Uint32Array = []
tintColor
tint
Color: Color | null = null
visible
visible: boolean = true
Static ATTRIB_BASE64
ATTRIB_BASE64: number = 1 << 1
Static ATTRIB_GZIP
ATTRIB_GZIP: number = 1 << 2
Static ATTRIB_NONE
ATTRIB_NONE: number = 1 << 0
Static ATTRIB_ZLIB
ATTRIB_ZLIB: number = 1 << 3
cc.TMXLayerInfo contains the information about the layers like: