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

Method getMovableObjectFactory

OgreMain/src/OgreRoot.cpp:1666–1676  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1664 }
1665 //---------------------------------------------------------------------
1666 MovableObjectFactory *Root::getMovableObjectFactory( const String &typeName )
1667 {
1668 MovableObjectFactoryMap::iterator i = mMovableObjectFactoryMap.find( typeName );
1669 if( i == mMovableObjectFactoryMap.end() )
1670 {
1671 OGRE_EXCEPT( Exception::ERR_ITEM_NOT_FOUND,
1672 "MovableObjectFactory of type " + typeName + " does not exist",
1673 "Root::getMovableObjectFactory" );
1674 }
1675 return i->second;
1676 }
1677 //---------------------------------------------------------------------
1678 void Root::removeMovableObjectFactory( MovableObjectFactory *fact )
1679 {

Callers 4

createMovableObjectMethod · 0.80
destroyMovableObjectMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected