AnimLoader factory.
More...
#include <SkeletonLoaderFactory.h>
AnimLoader factory.
AnimLoader factory used to create anim loaders.
◆ createSkeletonLoader()
AtomsPtr<BaseSkeletonLoader> Atoms::SkeletonLoaderFactory::createSkeletonLoader |
( |
const std::string & |
typeName | ) |
|
Creates an anim loader.
- Parameters
-
- Returns
- Pointer to the anim loader
◆ deregisterSkeletonLoader()
void Atoms::SkeletonLoaderFactory::deregisterSkeletonLoader |
( |
const std::string & |
name | ) |
|
Deregisters an anim loader type from the factory.
- Parameters
-
◆ getRegisteredSkeletonLoaders()
std::vector<std::string> Atoms::SkeletonLoaderFactory::getRegisteredSkeletonLoaders |
( |
| ) |
|
Gets all registered anim loader.
- Returns
- List of all anim loader type registered
◆ isRegistered()
bool Atoms::SkeletonLoaderFactory::isRegistered |
( |
const std::string & |
name | ) |
|
Checks if an anim loader type with the given name is registered.
- Parameters
-
- Returns
- Return true if the type is already registered
◆ registerSkeletonLoader()
void Atoms::SkeletonLoaderFactory::registerSkeletonLoader |
( |
const std::string & |
name, |
|
|
creatorFn |
funct |
|
) |
| |
Registers a new anim loader type in the factory.
- Parameters
-
The documentation for this class was generated from the following file: