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