OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::PointEmitter2 Class Reference

#include <OgrePointEmitter2.h>

+ Inheritance diagram for Ogre::PointEmitter2:

Public Member Functions

 PointEmitter2 ()
 
const StringgetType () 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...
 
- Public Member Functions inherited from Ogre::EmitterDefData
 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...
 
ParticleEmitterasParticleEmitter ()
 ParticleEmitter is a protected base class of EmitterDefData. More...
 
const ParticleEmitterasParticleEmitter () const
 
uint32 genEmissionCount (Real timeSinceLast, EmitterInstanceData &instanceData) const
 Must be called by 1 thread. More...
 
const Vector2getInitialDimensions () const
 
void setInitialDimensions (const Vector2 &dim)
 

Constructor & Destructor Documentation

◆ PointEmitter2()

Ogre::PointEmitter2::PointEmitter2 ( )

Member Function Documentation

◆ getType()

const String& Ogre::PointEmitter2::getType ( ) const
overridevirtual

Returns the name of the type of emitter.

Remarks
This property is useful for determining the type of emitter procedurally so another can be created.

Implements Ogre::ParticleEmitter.

◆ initEmittedParticles()

void Ogre::PointEmitter2::initEmittedParticles ( ParticleCpuData  cpuData,
const EmittedParticle newHandles,
size_t  numParticles 
)
overridevirtual

Initializes particles Can be called by multiple threads.

Parameters
cpuData
newHandles
numParticlesNumber of particles to initialize.

Implements Ogre::EmitterDefData.


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