MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / getSubEntity

Method getSubEntity

OgreMain/src/OgreEntity.cpp:319–325  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

317 const MeshPtr &Entity::getMesh() const { return mMesh; }
318 //-----------------------------------------------------------------------
319 SubEntity *Entity::getSubEntity( size_t index )
320 {
321 if( index >= mSubEntityList.size() )
322 OGRE_EXCEPT( Exception::ERR_INVALIDPARAMS, "Index out of bounds.",
323 "Entity::getSubEntity" );
324 return &mSubEntityList[index];
325 }
326 //-----------------------------------------------------------------------
327 const SubEntity *Entity::getSubEntity( size_t index ) const
328 {

Callers 5

exportEntityMethod · 0.80
importEntityMethod · 0.80
applyMethod · 0.80
cloneMethod · 0.80
createSceneMethod · 0.80

Calls 2

_getSubMeshIndexMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected