mirror of https://github.com/axmolengine/axmol.git
add getMeshCount method
This commit is contained in:
parent
5487218ab1
commit
7cf5b50790
|
@ -69,6 +69,9 @@ public:
|
|||
/**get mesh*/
|
||||
Mesh* getMesh() const { return _meshes.at(0); }
|
||||
|
||||
/** get Mesh Count */
|
||||
ssize_t getMeshCount() const { return _meshes.size(); }
|
||||
|
||||
/**get skin*/
|
||||
CC_DEPRECATED_ATTRIBUTE MeshSkin* getSkin() const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue