V-Gears 0
Free Final Fantasy VII engine.
ParticleSystemFactory Class Reference

A particle system factory. More...

#include <ParticleSystemFactory.h>

Inheritance diagram for ParticleSystemFactory:
Collaboration diagram for ParticleSystemFactory:

Public Member Functions

 ParticleSystemFactory ()
 Constructor. More...
 
 ~ParticleSystemFactory ()
 Destructor. More...
 
const Ogre::String & getType () const
 Retrieves the particle systems type. More...
 
void DestroyInstance (Ogre::MovableObject *obj)
 Destroys a particle system. More...
 

Static Public Attributes

static Ogre::String FACTORY_TYPE_NAME = "VgearsParticleSystem"
 Type of the particle systems. More...
 

Private Member Functions

Ogre::MovableObject * createInstanceImpl (const Ogre::String &name, const Ogre::NameValuePairList *params)
 Creates an instance from a template. More...
 

Detailed Description

A particle system factory.

Constructor & Destructor Documentation

◆ ParticleSystemFactory()

ParticleSystemFactory::ParticleSystemFactory ( )
inline

Constructor.

◆ ~ParticleSystemFactory()

ParticleSystemFactory::~ParticleSystemFactory ( )
inline

Destructor.

Member Function Documentation

◆ createInstanceImpl()

Ogre::MovableObject * ParticleSystemFactory::createInstanceImpl ( const Ogre::String &  name,
const Ogre::NameValuePairList *  params 
)
private

Creates an instance from a template.

Parameters
[in]nameName for the particle system
[in]paramsList of parameters for the particle system.

◆ DestroyInstance()

void ParticleSystemFactory::DestroyInstance ( Ogre::MovableObject *  obj)

Destroys a particle system.

Parameters
[in,out]objSystem to destroy.

◆ getType()

const Ogre::String & ParticleSystemFactory::getType ( ) const

Retrieves the particle systems type.

Returns
The particle systems type.

Member Data Documentation

◆ FACTORY_TYPE_NAME

Ogre::String ParticleSystemFactory::FACTORY_TYPE_NAME = "VgearsParticleSystem"
static

Type of the particle systems.


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