![]() |
OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
#include <OgrePointEmitter2.h>
Public Member Functions | |
PointEmitter2 () | |
const String & | getType () const override |
Returns the name of the type of emitter. More... | |
void | initEmittedParticles (ParticleCpuData cpuData, const EmittedParticle *newHandles, size_t numParticles) override |
Initializes particles Can be called by multiple threads. More... | |
![]() | |
EmitterDefData () | |
virtual void | _cloneFrom (const EmitterDefData *original) |
unsigned short | _getEmissionCount (Real timeElapsed) final |
Override so we don't use it accidentally (we use genEmissionCount() instead). More... | |
ParticleEmitter * | asParticleEmitter () |
ParticleEmitter is a protected base class of EmitterDefData. More... | |
const ParticleEmitter * | asParticleEmitter () const |
uint32 | genEmissionCount (Real timeSinceLast, EmitterInstanceData &instanceData) const |
Must be called by 1 thread. More... | |
const Vector2 & | getInitialDimensions () const |
void | setInitialDimensions (const Vector2 &dim) |
Ogre::PointEmitter2::PointEmitter2 | ( | ) |
|
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.