OGRE 13.6
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::AntiPortalFactory Class Reference

Factory object for creating AntiPortal instances. More...

#include <OgreAntiPortal.h>

+ Inheritance diagram for Ogre::AntiPortalFactory:

Public Member Functions

 AntiPortalFactory ()
 
 ~AntiPortalFactory ()
 
const StringgetType () 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.
 
MovableObjectcreateInstance (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.
 
virtual const StringgetType (void) const =0
 Get the type of the object to be created.
 
uint32 getTypeFlags (void) const
 Gets the type flag for this factory.
 
virtual bool requestTypeFlags (void) const
 Does this factory require the allocation of a 'type flag', used to selectively include / exclude this type from scene queries?
 

Static Public Attributes

static unsigned long FACTORY_TYPE_FLAG
 
static String FACTORY_TYPE_NAME
 

Detailed Description

Factory object for creating AntiPortal instances.

Constructor & Destructor Documentation

◆ AntiPortalFactory()

Ogre::AntiPortalFactory::AntiPortalFactory ( )
inline

◆ ~AntiPortalFactory()

Ogre::AntiPortalFactory::~AntiPortalFactory ( )
inline

Member Function Documentation

◆ getType()

const String & Ogre::AntiPortalFactory::getType ( ) const
inlineoverridevirtual

Get the type of the object to be created.

Implements Ogre::MovableObjectFactory.

◆ requestTypeFlags()

bool Ogre::AntiPortalFactory::requestTypeFlags ( void  ) const
inlineoverridevirtual

Return true here as we want to get a unique type flag.

Reimplemented from Ogre::MovableObjectFactory.

Member Data Documentation

◆ FACTORY_TYPE_NAME

String Ogre::AntiPortalFactory::FACTORY_TYPE_NAME
static

◆ FACTORY_TYPE_FLAG

unsigned long Ogre::AntiPortalFactory::FACTORY_TYPE_FLAG
static

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