add getMeshCount method

This commit is contained in:
yangxiao 2014-10-24 15:24:36 +08:00
parent 5487218ab1
commit 7cf5b50790
1 changed files with 3 additions and 0 deletions

View File

@ -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;