Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
tiledmap
Module tiledmap
Index
References
Tiled
Layer
Tiled
Map
Tiled
Map
Asset
Tiled
Mesh
Data
Tiled
Object
Group
Tiled
Tile
Tiled
User
Node
Data
Enumerations
Orientation
Property
Render
Order
Stagger
Axis
Stagger
Index
TMXObject
Type
Tile
Flag
Classes
TMXImage
Layer
Info
TMXLayer
Info
TMXMap
Info
TMXObject
Group
Info
TMXTileset
Info
Tiled
Layer
Tiled
Map
Tiled
Map
Asset
Tiled
Object
Group
Tiled
Tile
Tiled
User
Node
Data
Interfaces
Image
Extended
Node
TMXObject
Tiled
Animation
Tiled
Grid
Tiled
Mesh
Data
Tiled
Sub
Node
Data
Type aliases
Draw
Order
GID
GIDFlags
MixedGID
Properties
Info
Tiled
Animation
Type
Tiled
Mesh
Data
Array
Tiled
Texture
Grids
Variables
_mat4_
temp
_vec2_
temp
_vec3_
temp
_vec3_
temp2
Functions
fill
Texture
Grids
get
Property
List
load
All
Textures
str
ToColor
str
ToHAlign
str
ToVAlign
uint8
Array
ToUint32
Array
Object literals
temp
Row
Col
References
Tiled
Layer
Re-exports
TiledLayer
Tiled
Map
Re-exports
TiledMap
Tiled
Map
Asset
Re-exports
TiledMapAsset
Tiled
Mesh
Data
Re-exports
TiledMeshData
Tiled
Object
Group
Re-exports
TiledObjectGroup
Tiled
Tile
Re-exports
TiledTile
Tiled
User
Node
Data
Re-exports
TiledUserNodeData
Type aliases
Draw
Order
Draw
Order
:
"topdown"
|
"bottomup"
GID
GID
:
number
GIDFlags
GIDFlags
:
number
MixedGID
MixedGID
:
number
Properties
Info
Properties
Info
:
{}
Type declaration
[
key:
string
]:
number
|
string
Tiled
Animation
Type
Tiled
Animation
Type
:
Map
<
GID
,
TiledAnimation
>
Tiled
Mesh
Data
Array
Tiled
Mesh
Data
Array
:
(
TiledMeshData
|
TiledSubNodeData
)
[]
Tiled
Texture
Grids
Tiled
Texture
Grids
:
Map
<
GID
,
TiledGrid
>
Variables
Const
_mat4_
temp
_mat4_
temp
:
Mat4
= new Mat4()
Const
_vec2_
temp
_vec2_
temp
:
Vec2
= new Vec2()
Const
_vec3_
temp
_vec3_
temp
:
Vec3
= new Vec3()
Const
_vec3_
temp2
_vec3_
temp2
:
Vec3
= new Vec3()
Functions
fill
Texture
Grids
fill
Texture
Grids
(
tileset
:
TMXTilesetInfo
, texGrids
:
TiledTextureGrids
, spFrame
?:
SpriteFrame
)
:
void
Parameters
tileset:
TMXTilesetInfo
texGrids:
TiledTextureGrids
Optional
spFrame:
SpriteFrame
Returns
void
get
Property
List
get
Property
List
(
node
:
Element
, map
?:
PropertiesInfo
)
:
PropertiesInfo
Parameters
node:
Element
Optional
map:
PropertiesInfo
Returns
PropertiesInfo
load
All
Textures
load
All
Textures
(
textures
:
SpriteFrame
[]
, loadedCallback
:
any
)
:
void
Parameters
textures:
SpriteFrame
[]
loadedCallback:
any
Returns
void
str
ToColor
str
ToColor
(
value
:
string
)
:
Color
Parameters
value:
string
Returns
Color
str
ToHAlign
str
ToHAlign
(
value
:
any
)
:
HorizontalTextAlignment
Parameters
value:
any
Returns
HorizontalTextAlignment
str
ToVAlign
str
ToVAlign
(
value
:
any
)
:
VerticalTextAlignment
Parameters
value:
any
Returns
VerticalTextAlignment
uint8
Array
ToUint32
Array
uint8
Array
ToUint32
Array
(
uint8Arr
:
Uint8Array
)
:
null
|
Uint32Array
|
number
[]
Parameters
uint8Arr:
Uint8Array
Returns
null
|
Uint32Array
|
number
[]
Object literals
Const
temp
Row
Col
temp
Row
Col
:
object
col
col
:
number
= 0
row
row
:
number
= 0
Globals
tiledmap
Tiled
Layer
Tiled
Map
Tiled
Map
Asset
Tiled
Mesh
Data
Tiled
Object
Group
Tiled
Tile
Tiled
User
Node
Data
Orientation
Property
Render
Order
Stagger
Axis
Stagger
Index
TMXObject
Type
Tile
Flag
TMXImage
Layer
Info
TMXLayer
Info
TMXMap
Info
TMXObject
Group
Info
TMXTileset
Info
Tiled
Layer
Tiled
Map
Tiled
Map
Asset
Tiled
Object
Group
Tiled
Tile
Tiled
User
Node
Data
Image
Extended
Node
TMXObject
Tiled
Animation
Tiled
Grid
Tiled
Mesh
Data
Tiled
Sub
Node
Data
Draw
Order
GID
GIDFlags
MixedGID
Properties
Info
Tiled
Animation
Type
Tiled
Mesh
Data
Array
Tiled
Texture
Grids
_mat4_
temp
_vec2_
temp
_vec3_
temp
_vec3_
temp2
fill
Texture
Grids
get
Property
List
load
All
Textures
str
ToColor
str
ToHAlign
str
ToVAlign
uint8
Array
ToUint32
Array
temp
Row
Col
Generated using
TypeDoc