OGRE  master
Object-Oriented Graphics Rendering Engine
Ogre::BoxEmitterFactory Class Reference

Factory class for particle emitter of type "Box". More...

#include <OgreBoxEmitterFactory.h>

+ Inheritance diagram for Ogre::BoxEmitterFactory:

Public Member Functions

ParticleEmittercreateEmitter (ParticleSystem *psys) override
 Creates a new emitter instance. More...
 
String getName () const override
 Returns the name of the factory, the name which identifies the particle emitter type this factory creates. More...
 
- Public Member Functions inherited from Ogre::ParticleEmitterFactory
 ParticleEmitterFactory ()
 
virtual ~ParticleEmitterFactory ()
 
virtual void destroyEmitter (ParticleEmitter *e)
 Destroys the emitter pointed to by the parameter (for early clean up if required). More...
 

Detailed Description

Factory class for particle emitter of type "Box".

Creates instances of BoxEmitter to be used in particle systems.

Member Function Documentation

◆ getName()

String Ogre::BoxEmitterFactory::getName ( ) const
inlineoverridevirtual

Returns the name of the factory, the name which identifies the particle emitter type this factory creates.

Implements Ogre::ParticleEmitterFactory.

◆ createEmitter()

ParticleEmitter* Ogre::BoxEmitterFactory::createEmitter ( ParticleSystem psys)
inlineoverridevirtual

Creates a new emitter instance.

The subclass MUST add a pointer to the created instance to mEmitters.

Implements Ogre::ParticleEmitterFactory.


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