![]() |
OGRE-Next 4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Particle emitter which emits particles randomly from points inside a cylinder. More...
#include <OgreCylinderEmitter2.h>
Inheritance diagram for Ogre::CylinderEmitter2:Public Member Functions | |
| CylinderEmitter2 () | |
| const String & | getType () const override |
| Returns the name of the type of emitter. | |
| void | initEmittedParticles (ParticleCpuData cpuData, const EmittedParticle *newHandles, size_t numParticles) override |
| Initializes particles Can be called by multiple threads. | |
Public Member Functions inherited from Ogre::AreaEmitter2 | |
| void | _cloneFrom (const EmitterDefData *original) override |
| Real | getDepth () const |
| Gets the depth (local y size) of the emitter. | |
| Real | getHeight () const |
| Gets the height (local y size) of the emitter. | |
| Real | getWidth () const |
| Gets the width (local x size) of the emitter. | |
| void | setDepth (Real Depth) |
| Sets the depth (local y size) of the emitter. | |
| void | setDirection (const Vector3 &direction) override |
| Overloaded to update the trans. | |
| void | setHeight (Real Height) |
| Sets the height (local y size) of the emitter. | |
| void | setSize (const Vector3 &size) |
| Sets the size of the area from which particles are emitted. | |
| void | setSize (Real x, Real y, Real z) |
| Sets the size of the area from which particles are emitted. | |
| void | setWidth (Real width) |
| Sets the width (local x size) of the emitter. | |
Public Member Functions inherited from Ogre::EmitterDefData | |
| EmitterDefData () | |
| unsigned short | _getEmissionCount (Real timeElapsed) final |
| Override so we don't use it accidentally (we use genEmissionCount() instead). | |
| ParticleEmitter * | asParticleEmitter () |
| ParticleEmitter is a protected base class of EmitterDefData. | |
| const ParticleEmitter * | asParticleEmitter () const |
| uint32 | genEmissionCount (Real timeSinceLast, EmitterInstanceData &instanceData) const |
| Must be called by 1 thread. | |
| const Vector2 & | getInitialDimensions () const |
| void | setInitialDimensions (const Vector2 &dim) |
Particle emitter which emits particles randomly from points inside a cylinder.
| Ogre::CylinderEmitter2::CylinderEmitter2 | ( | ) |
|
overridevirtual |
Returns the name of the type of emitter.
Implements Ogre::ParticleEmitter.
|
overridevirtual |
Initializes particles Can be called by multiple threads.
| cpuData | |
| newHandles | |
| numParticles | Number of particles to initialize. |
Implements Ogre::EmitterDefData.