OGRE  1.12.9
Object-Oriented Graphics Rendering Engine
Ogre::SceneLoaderManager Class Reference

#include <OgreSceneLoaderManager.h>

+ Inheritance diagram for Ogre::SceneLoaderManager:

Public Member Functions

 SceneLoaderManager ()
 
virtual ~SceneLoaderManager ()
 
SceneLoader_getSceneLoader (const String &name) const
 
void load (const String &filename, const String &groupName, SceneNode *rootNode)
 Load a scene from a SceneLoader. More...
 
void load (DataStreamPtr &stream, const String &groupName, SceneNode *rootNode)
 Load a scene from a SceneLoader. More...
 
void registerSceneLoader (const String &name, const StringVector &ext, SceneLoader *sl)
 Register a new SceneLoader. More...
 
void unregisterSceneLoader (const String &name)
 
- Public Member Functions inherited from Ogre::Singleton< SceneLoaderManager >
 Singleton (void)
 
 ~Singleton (void)
 

Static Public Member Functions

static SceneLoaderManagergetSingleton (void)
 
static SceneLoaderManagergetSingletonPtr (void)
 
- Static Public Member Functions inherited from Ogre::Singleton< SceneLoaderManager >
static SceneLoaderManagergetSingleton (void)
 Get the singleton instance. More...
 
static SceneLoaderManagergetSingletonPtr (void)
 Get the singleton instance. More...
 

Detailed Description

Deprecated:
migrate to Codec API

Constructor & Destructor Documentation

◆ SceneLoaderManager()

Ogre::SceneLoaderManager::SceneLoaderManager ( )

◆ ~SceneLoaderManager()

virtual Ogre::SceneLoaderManager::~SceneLoaderManager ( )
virtual

Member Function Documentation

◆ registerSceneLoader()

void Ogre::SceneLoaderManager::registerSceneLoader ( const String name,
const StringVector ext,
SceneLoader sl 
)

Register a new SceneLoader.

Parameters
nameThe name for the SceneLoader for lookup.
extA StringVector containing the supported extensions for the SceneLoader being registered.
slPointer to the SceneLoader instance.

◆ unregisterSceneLoader()

void Ogre::SceneLoaderManager::unregisterSceneLoader ( const String name)

◆ _getSceneLoader()

SceneLoader* Ogre::SceneLoaderManager::_getSceneLoader ( const String name) const
inline

◆ load() [1/2]

void Ogre::SceneLoaderManager::load ( const String filename,
const String groupName,
SceneNode rootNode 
)

Load a scene from a SceneLoader.

Parameters
filenameThe name (and path) of the file to be loaded. This is also used to determine the SceneLoader to use by the file extension.
groupNameThe name of a resource group which should be used if any resources are created during the parse of this script.
rootNodeThe root node for the scene being loaded.

◆ load() [2/2]

void Ogre::SceneLoaderManager::load ( DataStreamPtr stream,
const String groupName,
SceneNode rootNode 
)

Load a scene from a SceneLoader.

Parameters
streamWeak reference to a data stream which is the source of the scene. This is also used to determine the SceneLoader to use by the file extension.
groupNameThe name of a resource group which should be used if any resources are created during the parse of this script.
rootNodeThe root node for the scene being loaded.

◆ getSingleton()

static SceneLoaderManager& Ogre::SceneLoaderManager::getSingleton ( void  )
static
Deprecated:
migrate to Codec API

◆ getSingletonPtr()

static SceneLoaderManager* Ogre::SceneLoaderManager::getSingletonPtr ( void  )
static
Deprecated:
migrate to Codec API

The documentation for this class was generated from the following file: