OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Factory object for creating Portal instances. More...
#include <OgrePortal.h>
Public Member Functions | |
PortalFactory () | |
~PortalFactory () | |
const String & | getType () const override |
Get the type of the object to be created. | |
bool | requestTypeFlags () const override |
Return true here as we want to get a unique type flag. | |
Public Member Functions inherited from Ogre::MovableObjectFactory | |
MovableObjectFactory () | |
virtual | ~MovableObjectFactory () |
void | _notifyTypeFlags (uint32 flag) |
Notify this factory of the type mask to apply. | |
MovableObject * | createInstance (const String &name, SceneManager *manager, const NameValuePairList *params=0) |
Create a new instance of the object. | |
virtual void | destroyInstance (MovableObject *obj) |
Destroy an instance of the object. | |
uint32 | getTypeFlags (void) const |
Gets the type flag for this factory. | |
Static Public Attributes | |
static unsigned long | FACTORY_TYPE_FLAG |
static String | FACTORY_TYPE_NAME |
Factory object for creating Portal instances.
|
inline |
|
inline |
Get the type of the object to be created.
Implements Ogre::MovableObjectFactory.
Return true here as we want to get a unique type flag.
Reimplemented from Ogre::MovableObjectFactory.
|
static |