Class cc.TMXLayerInfo
Extends
cc.Class.
Defined in: CCTMXXMLParser.js.
Constructor Attributes | Constructor Name and Description |
---|---|
cc.TMXLayerInfo contains the information about the layers like: |
Method Attributes | Method Name and Description |
---|---|
ctor()
|
|
setProperties(Var)
|
Class Detail
cc.TMXLayerInfo()
cc.TMXLayerInfo contains the information about the layers like:
- Layer name
- Layer size
- Layer opacity at creation time (it can be modified at runtime)
- Whether the layer is visible (if it's not visible, then the CocosNode won't be created)
This information is obtained from the TMX file.
Method Detail
ctor()
{Array}
getProperties()
- Returns:
- {Array}
setProperties(Var)
- Parameters:
- {object} Var