OGRE-Next: Ogre::v1::EntityFactory Class Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Ogre::v1::EntityFactory Class Referencefinal
Core | Component » Scene

Factory object for creating Entity instances. More...

`#include <OgreEntity.h>`

Inheritance diagram for Ogre::v1::EntityFactory:
[legend]

## Public Member Functions
| EntityFactory ()
| ~EntityFactory () override
void | destroyInstance (MovableObject *obj) override
| Destroy an instance of the object.
const String & | getType () const override
| Get the type of the object to be created.
Public Member Functions inherited from Ogre::MovableObjectFactory
| MovableObjectFactory ()
virtual | ~MovableObjectFactory ()
virtual MovableObject * | createInstance (IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const NameValuePairList *params=0)
| Create a new instance of the object.

## Static Public Attributes
static String | FACTORY_TYPE_NAME

## Detailed Description

Factory object for creating Entity instances.

## Constructor & Destructor Documentation

## ◆ EntityFactory()

Ogre::v1::EntityFactory::EntityFactory | ( |  | ) |
| inline

## ◆ ~EntityFactory()

Ogre::v1::EntityFactory::~EntityFactory | ( |  | ) |
| inlineoverride

## Member Function Documentation

## ◆ destroyInstance()

void Ogre::v1::EntityFactory::destroyInstance | ( | MovableObject * | obj | ) |
| overridevirtual

Destroy an instance of the object.

Implements Ogre::MovableObjectFactory.

## ◆ getType()

const String & Ogre::v1::EntityFactory::getType | ( |  | ) | const
| overridevirtual

Get the type of the object to be created.

Implements Ogre::MovableObjectFactory.

## Member Data Documentation

## ◆ FACTORY_TYPE_NAME

String Ogre::v1::EntityFactory::FACTORY_TYPE_NAME
| static

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

- OgreEntity.h