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

Method createWorldSection

Components/Paging/src/OgrePageManager.cpp:333–343  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

331 }
332 //---------------------------------------------------------------------
333 PagedWorldSection* PageManager::createWorldSection(const String& typeName,
334 const String& name, PagedWorld* parent, SceneManager* sm)
335 {
336 PagedWorldSectionFactory* fact = getWorldSectionFactory(typeName);
337 if (!fact)
338 OGRE_EXCEPT(Exception::ERR_ITEM_NOT_FOUND,
339 typeName + " is not the name of a valid PagedWorldSectionFactory",
340 "PageManager::createWorldSection");
341
342 return fact->createInstance(name, parent, sm);
343 }
344 //---------------------------------------------------------------------
345 void PageManager::destroyWorldSection(PagedWorldSection* coll)
346 {

Callers

nothing calls this directly

Calls 1

createInstanceMethod · 0.45

Tested by

no test coverage detected