Interface definition for a factory class which produces a certain kind of MovableObject, and can be registered with Root in order to allow all clients to produce new instances of this object, integrated with the standard Ogre processing.
More...
#include <OgreMovableObject.h>
Interface definition for a factory class which produces a certain kind of MovableObject, and can be registered with Root in order to allow all clients to produce new instances of this object, integrated with the standard Ogre processing.
◆ MovableObjectFactory()
Ogre::MovableObjectFactory::MovableObjectFactory |
( |
| ) |
|
|
inline |
◆ ~MovableObjectFactory()
virtual Ogre::MovableObjectFactory::~MovableObjectFactory |
( |
| ) |
|
|
inlinevirtual |
◆ getType()
virtual const String& Ogre::MovableObjectFactory::getType |
( |
void |
| ) |
const |
|
pure virtual |
Get the type of the object to be created.
Implemented in Ogre::PCZLightFactory, Ogre::StaticGeometryFactory, Ogre::RibbonTrailFactory, Ogre::ParticleSystemFactory, Ogre::ManualObjectFactory, Ogre::LightFactory, Ogre::EntityFactory, Ogre::BillboardSetFactory, Ogre::BillboardChainFactory, Ogre::PortalFactory, and Ogre::AntiPortalFactory.
◆ createInstance()
Create a new instance of the object.
- Parameters
-
name | The name of the new object |
manager | The SceneManager instance that will be holding the instance once created. |
params | Name/value pair list of additional parameters required to construct the object (defined per subtype). Optional. |
◆ destroyInstance()
virtual void Ogre::MovableObjectFactory::destroyInstance |
( |
MovableObject * |
obj | ) |
|
|
inlinevirtual |
Destroy an instance of the object.
◆ requestTypeFlags()
virtual bool Ogre::MovableObjectFactory::requestTypeFlags |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ _notifyTypeFlags()
void Ogre::MovableObjectFactory::_notifyTypeFlags |
( |
uint32 |
flag | ) |
|
|
inline |
Notify this factory of the type mask to apply.
◆ getTypeFlags()
uint32 Ogre::MovableObjectFactory::getTypeFlags |
( |
void |
| ) |
const |
|
inline |
Gets the type flag for this factory.
The documentation for this class was generated from the following file: