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

Factory object for creating Entity instances. More...

#include <OgreEntity.h>

Inheritance diagram for Ogre::EntityFactory:

Public Member Functions

 EntityFactory ()
 ~EntityFactory ()
const StringgetType (void) const
 Get the type of the object to be created.
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.
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 String FACTORY_TYPE_NAME

Detailed Description

Factory object for creating Entity instances.

Constructor & Destructor Documentation

◆ EntityFactory()

Ogre::EntityFactory::EntityFactory ( )
inline

◆ ~EntityFactory()

Ogre::EntityFactory::~EntityFactory ( )
inline

Member Function Documentation

◆ getType()

const String & Ogre::EntityFactory::getType ( void ) const
virtual

Get the type of the object to be created.

Implements Ogre::MovableObjectFactory.

Member Data Documentation

◆ FACTORY_TYPE_NAME

String Ogre::EntityFactory::FACTORY_TYPE_NAME
static

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