Cocos Creator API

1.4.x

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

TMXObject

Module: cc

Renders the TMX object.

Methods

getObjectName ( ) String

Get the name of object

returns:

type: String

getProperty ( ) Object

Get the property of object

returns:

type: Object

getProperties ( ) Object

Get the properties of object

returns:

type: Object

setObjectName
(
  • name
)

Set the object name

name type description
name String

setProperties
(
  • props
)

Set the properties of the object

name type description
props Object

There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index