add getMeshCount method

This commit is contained in:
yangxiao 2014-10-24 15:57:47 +08:00
parent f878533f85
commit 4d08a08809
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;