OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Handles the management of skeleton resources. More...
#include <OgreSkeletonManager.h>
Public Member Functions | |
SkeletonManager () | |
Constructor. More... | |
~SkeletonManager () | |
void | add (SkeletonDefPtr skeletonDef) |
Adds an external pointer for us to track. More... | |
SkeletonDefPtr | getSkeletonDef (const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME) |
Create a new skeleton or retrieves an existing one. Will throw if can't find the skeleton. More... | |
SkeletonDefPtr | getSkeletonDef (v1::Skeleton *oldSkeletonBase) |
Creates a skeletondef based on an existing one from the legacy skeleton system. More... | |
void | remove (const IdString &name) |
Will remove the SkeletonDef from our lists, but the memory pointer may not actually be deleted, which will happen when all references to the shared object are destroyed. More... | |
Public Member Functions inherited from Ogre::Singleton< SkeletonManager > | |
Singleton () | |
~Singleton () | |
Static Public Member Functions | |
static SkeletonManager & | getSingleton () |
Override standard Singleton retrieval. More... | |
static SkeletonManager * | getSingletonPtr () |
Override standard Singleton retrieval. More... | |
Static Public Member Functions inherited from Ogre::Singleton< SkeletonManager > | |
static SkeletonManager & | getSingleton () |
static SkeletonManager * | getSingletonPtr () |
Handles the management of skeleton resources.
Ogre::SkeletonManager::SkeletonManager | ( | ) |
Constructor.
Ogre::SkeletonManager::~SkeletonManager | ( | ) |
void Ogre::SkeletonManager::add | ( | SkeletonDefPtr | skeletonDef | ) |
Adds an external pointer for us to track.
Throws if a skeleton with the same name already exists
|
static |
Override standard Singleton retrieval.
|
static |
Override standard Singleton retrieval.
SkeletonDefPtr Ogre::SkeletonManager::getSkeletonDef | ( | const String & | name, |
const String & | groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME |
||
) |
Create a new skeleton or retrieves an existing one. Will throw if can't find the skeleton.
SkeletonDefPtr Ogre::SkeletonManager::getSkeletonDef | ( | v1::Skeleton * | oldSkeletonBase | ) |
Creates a skeletondef based on an existing one from the legacy skeleton system.
If a skeleton def with the same name already exists, returns that one instead.
void Ogre::SkeletonManager::remove | ( | const IdString & | name | ) |
Will remove the SkeletonDef from our lists, but the memory pointer may not actually be deleted, which will happen when all references to the shared object are destroyed.