TMXObject Class
Module: cc
Renders the TMX object.
Index
Methods
- getObjectNameGet the name of object
- getPropertyGet the property of object
- getPropertiesGet the properties of object
- setObjectNameSet the object name
- setPropertiesSet the properties of the object
Details
Methods
getObjectName
Get the name of object
| meta | description | 
|---|---|
| Returns | String | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/tilemap/CCSGTMXObject.js:71 | 
getProperty
Get the property of object
| meta | description | 
|---|---|
| Returns | Object | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/tilemap/CCSGTMXObject.js:81 | 
Parameters
- propertyNameString
getProperties
Get the properties of object
| meta | description | 
|---|---|
| Returns | Object | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/tilemap/CCSGTMXObject.js:92 | 
setObjectName
Set the object name
| meta | description | 
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/tilemap/CCSGTMXObject.js:102 | 
Parameters
- nameString
setProperties
Set the properties of the object
| meta | description | 
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/tilemap/CCSGTMXObject.js:112 | 
Parameters
- propsObject
