Particle emitter which emits particles randomly from points inside a hollow ellipsoid. More...
#include <OgreHollowEllipsoidEmitter.h>
Classes | |
class | CmdInnerX |
Command object for inner size (see ParamCommand). More... | |
class | CmdInnerY |
Command object for inner size (see ParamCommand). More... | |
class | CmdInnerZ |
Command object for inner size (see ParamCommand). More... | |
Public Types | |
enum | ParticleType { Visual, Emitter } |
Type of particle. More... | |
Public Member Functions | |
HollowEllipsoidEmitter (ParticleSystem *psys) | |
unsigned short | _getEmissionCount (Real timeElapsed) |
See ParticleEmitter. More... | |
void | _initParticle (Particle *pParticle) |
See ParticleEmitter. More... | |
void | _notifyOwner (ParticleSystem *owner) |
Internal method for notifying the particle of it's owner. More... | |
void | _notifyVisualData (ParticleVisualData *vis) |
Internal method for notifying the particle of it's optional visual data. More... | |
virtual void | copyParametersTo (StringInterface *dest) const |
Method for copying this object's parameters to another object. More... | |
virtual const Radian & | getAngle (void) const |
Returns the maximum angle which the initial particle direction can deviate from the emitters base direction. More... | |
virtual const ColourValue & | getColour (void) const |
Gets the colour of particles to be emitted. More... | |
virtual const ColourValue & | getColourRangeEnd (void) const |
Gets the maximum colour of particles to be emitted. More... | |
virtual const ColourValue & | getColourRangeStart (void) const |
Gets the minimum colour of particles to be emitted. More... | |
Real | getDepth (void) const |
Gets the depth (local y size) of the emitter. More... | |
virtual const Vector3 & | getDirection (void) const |
Returns the base direction of the emitter. More... | |
virtual Real | getDuration (void) const |
Gets the duration of the emitter from when it is created or re-enabled. More... | |
virtual Real | getEmissionRate (void) const |
Returns the emission rate set for this emitter. More... | |
const String & | getEmittedEmitter (void) const |
Returns the name of the emitter to be emitted. More... | |
virtual bool | getEnabled (void) const |
Gets the flag indicating if this emitter is enabled or not. More... | |
Real | getHeight (void) const |
Gets the height (local y size) of the emitter. More... | |
Real | getInnerSizeX (void) const |
Gets the x component of the area inside the ellipsoid which doesn't emit particles. More... | |
Real | getInnerSizeY (void) const |
Gets the y component of the area inside the ellipsoid which doesn't emit particles. More... | |
Real | getInnerSizeZ (void) const |
Gets the z component of the area inside the ellipsoid which doesn't emit particles. More... | |
virtual Real | getMaxDuration (void) const |
Gets the maximum duration of this emitter in seconds (see setDuration for more details) More... | |
virtual Real | getMaxParticleVelocity (void) const |
Returns the maximum particle velocity. More... | |
virtual Real | getMaxRepeatDelay (void) const |
Gets the maximum duration of this emitter in seconds (see setRepeatDelay for more details) More... | |
virtual Real | getMaxTimeToLive (void) const |
Gets the maximum time each particle will live for. More... | |
virtual Real | getMinDuration (void) const |
Gets the minimum duration of this emitter in seconds (see setDuration for more details) More... | |
virtual Real | getMinParticleVelocity (void) const |
Returns the minimum particle velocity. More... | |
virtual Real | getMinRepeatDelay (void) const |
Gets the minimum duration of this emitter in seconds (see setRepeatDelay for more details) More... | |
virtual Real | getMinTimeToLive (void) const |
Gets the minimum time each particle will live for. More... | |
const String & | getName (void) const |
Returns the name of the emitter. More... | |
Real | getOwnHeight (void) const |
Retrieves the particle's personal width, if hasOwnDimensions is true. More... | |
Real | getOwnWidth (void) const |
Retrieves the particle's personal width, if hasOwnDimensions is true. More... | |
ParamDictionary * | getParamDictionary (void) |
Retrieves the parameter dictionary for this class. More... | |
const ParamDictionary * | getParamDictionary (void) const |
virtual String | getParameter (const String &name) const |
Generic parameter retrieval method. More... | |
const ParameterList & | getParameters (void) const |
Retrieves a list of parameters valid for this object. More... | |
virtual Real | getParticleVelocity (void) const |
Returns the initial velocity of particles emitted. More... | |
virtual const Vector3 & | getPosition (void) const |
Returns the position of this emitter relative to the center of the particle system. More... | |
virtual Real | getRepeatDelay (void) const |
Gets the duration of the emitter from when it is created or re-enabled. More... | |
const Radian & | getRotation (void) const |
virtual Real | getStartTime (void) const |
Gets the start time of the emitter. More... | |
virtual Real | getTimeToLive (void) const |
Gets the time each particle will live for. More... | |
const String & | getType (void) const |
Returns the name of the type of emitter. More... | |
virtual const Vector3 & | getUp (void) const |
Returns the up vector of the emitter. More... | |
ParticleVisualData * | getVisualData (void) const |
Get the optional visual data associated with the class. More... | |
Real | getWidth (void) const |
Gets the width (local x size) of the emitter. More... | |
bool | hasOwnDimensions (void) const |
Returns true if this particle deviates from the ParticleSystem's default dimensions (i.e. More... | |
virtual bool | isEmitted (void) const |
Return true if the emitter is emitted by another emitter. More... | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
void | resetDimensions (void) |
Utility method to reset this particle. More... | |
virtual void | setAngle (const Radian &angle) |
Sets the maximum angle away from the emitter direction which particle will be emitted. More... | |
virtual void | setColour (const ColourValue &colour) |
Sets the initial colour of particles emitted. More... | |
virtual void | setColour (const ColourValue &colourStart, const ColourValue &colourEnd) |
Sets the range of colours for emitted particles. More... | |
virtual void | setColourRangeEnd (const ColourValue &colour) |
Sets the maximum colour of particles to be emitted. More... | |
virtual void | setColourRangeStart (const ColourValue &colour) |
Sets the minimum colour of particles to be emitted. More... | |
void | setDepth (Real Depth) |
Sets the depth (local y size) of the emitter. More... | |
void | setDimensions (Real width, Real height) |
Sets the width and height for this particle. More... | |
void | setDirection (const Vector3 &direction) |
Overloaded to update the trans. More... | |
virtual void | setDuration (Real duration) |
Sets the duration of the emitter. More... | |
virtual void | setDuration (Real min, Real max) |
Sets the range of random duration for this emitter. More... | |
virtual void | setEmissionRate (Real particlesPerSecond) |
Sets the emission rate for this emitter. More... | |
virtual void | setEmitted (bool emitted) |
Set the indication (true/false) to indicate that the emitter is emitted by another emitter. More... | |
virtual void | setEmittedEmitter (const String &emittedEmitter) |
Sets the name of the emitter to be emitted. More... | |
virtual void | setEnabled (bool enabled) |
Sets whether or not the emitter is enabled. More... | |
void | setHeight (Real Height) |
Sets the height (local y size) of the emitter. More... | |
void | setInnerSize (Real x, Real y, Real z) |
Sets the size of the clear space inside the area from where NO particles are emitted. More... | |
void | setInnerSizeX (Real x) |
Sets the x component of the area inside the ellipsoid which doesn't emit particles. More... | |
void | setInnerSizeY (Real y) |
Sets the y component of the area inside the ellipsoid which doesn't emit particles. More... | |
void | setInnerSizeZ (Real z) |
Sets the z component of the area inside the ellipsoid which doesn't emit particles. More... | |
virtual void | setMaxDuration (Real max) |
Sets the maximum duration of this emitter in seconds (see setDuration for more details) More... | |
virtual void | setMaxParticleVelocity (Real max) |
Returns the maximum particle velocity. More... | |
virtual void | setMaxRepeatDelay (Real max) |
Sets the maximum duration of this emitter in seconds (see setRepeatDelay for more details) More... | |
virtual void | setMaxTimeToLive (Real max) |
Sets the maximum time each particle will live for. More... | |
virtual void | setMinDuration (Real min) |
Sets the minimum duration of this emitter in seconds (see setDuration for more details) More... | |
virtual void | setMinParticleVelocity (Real min) |
Returns the minimum particle velocity. More... | |
virtual void | setMinRepeatDelay (Real min) |
Sets the minimum duration of this emitter in seconds (see setRepeatDelay for more details) More... | |
virtual void | setMinTimeToLive (Real min) |
Sets the minimum time each particle will live for. More... | |
virtual void | setName (const String &newName) |
Sets the name of the emitter. More... | |
virtual bool | setParameter (const String &name, const String &value) |
Generic parameter setting method. More... | |
virtual void | setParameterList (const NameValuePairList ¶mList) |
Generic multiple parameter setting method. More... | |
virtual void | setParticleVelocity (Real speed) |
Sets the initial velocity of particles emitted. More... | |
virtual void | setParticleVelocity (Real min, Real max) |
Sets the initial velocity range of particles emitted. More... | |
virtual void | setPosition (const Vector3 &pos) |
Sets the position of this emitter relative to the particle system center. More... | |
virtual void | setRepeatDelay (Real duration) |
Sets the time between repeats of the emitter. More... | |
virtual void | setRepeatDelay (Real min, Real max) |
Sets the range of random duration for this emitter. More... | |
void | setRotation (const Radian &rad) |
Sets the current rotation. More... | |
void | setSize (const Vector3 &size) |
Sets the size of the area from which particles are emitted. More... | |
void | setSize (Real x, Real y, Real z) |
Sets the size of the area from which particles are emitted. More... | |
virtual void | setStartTime (Real startTime) |
Sets the 'start time' of this emitter. More... | |
virtual void | setTimeToLive (Real ttl) |
Sets the lifetime of all particles emitted. More... | |
virtual void | setTimeToLive (Real minTtl, Real maxTtl) |
Sets the range of lifetime for particles emitted. More... | |
virtual void | setUp (const Vector3 &up) |
Sets the notional up vector of the emitter. More... | |
void | setWidth (Real width) |
Sets the width (local x size) of the emitter. More... | |
Static Public Member Functions | |
static void | cleanupDictionary () |
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g. More... | |
Public Attributes | |
ColourValue | colour |
Current colour. More... | |
Vector3 | direction |
Direction (and speed) More... | |
Real | mHeight |
Personal height if mOwnDimensions == true. More... | |
bool | mOwnDimensions |
Does this particle have it's own dimensions? More... | |
Real | mWidth |
Personal width if mOwnDimensions == true. More... | |
ParticleType | particleType |
Determines the type of particle. More... | |
Vector3 | position |
World position. More... | |
Radian | rotation |
Current rotation value. More... | |
Radian | rotationSpeed |
Speed of rotation in radians/sec. More... | |
Real | timeToLive |
Time to live, number of seconds left of particles natural life. More... | |
Real | totalTimeToLive |
Total Time to live, number of seconds of particles natural life. More... | |
Protected Member Functions | |
void | addBaseParameters (void) |
Internal method for setting up the basic parameter definitions for a subclass. More... | |
bool | createParamDictionary (const String &className) |
Internal method for creating a parameter dictionary for the class, if it does not already exist. More... | |
void | genAreaAxes (void) |
Internal method for generating the area axes. More... | |
virtual unsigned short | genConstantEmissionCount (Real timeElapsed) |
Internal utility method for generating an emission count based on a constant emission rate. More... | |
virtual void | genEmissionColour (ColourValue &destColour) |
Internal utility method for generating a colour for a particle. More... | |
virtual void | genEmissionDirection (Vector3 &destVector) |
Internal utility method for generating particle exit direction. More... | |
virtual Real | genEmissionTTL (void) |
Internal utility method for generating a time-to-live for a particle. More... | |
virtual void | genEmissionVelocity (Vector3 &destVector) |
Internal utility method to apply velocity to a particle direction. More... | |
bool | initDefaults (const String &mType) |
Internal for initializing some defaults and parameters. More... | |
void | initDurationRepeat (void) |
Internal method for initialising the duration & repeat of an emitter. More... | |
Protected Attributes | |
Radian | mAngle |
Angle around direction which particles may be emitted, internally radians but angleunits for interface. More... | |
ColourValue | mColourRangeEnd |
Initial colour of particles (range end) More... | |
ColourValue | mColourRangeStart |
Initial colour of particles (range start) More... | |
Vector3 | mDirection |
Base direction of the emitter, may not be used by some emitters. More... | |
Real | mDurationMax |
Maximum length of time the emitter will run for (0 = forever) More... | |
Real | mDurationMin |
Minimum length of time emitter will run for (0 = forever) More... | |
Real | mDurationRemain |
Current duration remainder. More... | |
Real | mEmissionRate |
Rate in particles per second at which this emitter wishes to emit particles. More... | |
bool | mEmitted |
String | mEmittedEmitter |
The name of the emitter to be emitted (optional) More... | |
bool | mEnabled |
Whether this emitter is currently enabled (defaults to true) More... | |
Vector3 | mInnerSize |
Size of 'clear' center area (> 0 and < 1.0) More... | |
Real | mMaxSpeed |
Max speed of particles. More... | |
Real | mMaxTTL |
Initial time-to-live of particles (max) More... | |
Real | mMinSpeed |
Min speed of particles. More... | |
Real | mMinTTL |
Initial time-to-live of particles (min) More... | |
String | mName |
The name of the emitter. The name is optional unless it is used as an emitter that is emitted itself. More... | |
ParticleSystem * | mParent |
Parent particle system. More... | |
ParticleSystem * | mParentSystem |
Parent ParticleSystem. More... | |
Vector3 | mPosition |
Position relative to the center of the ParticleSystem. More... | |
Real | mRemainder |
Real | mRepeatDelayMax |
Real | mRepeatDelayMin |
Time between each repeat. More... | |
Real | mRepeatDelayRemain |
Repeat delay left. More... | |
Vector3 | mSize |
Size of the area. More... | |
Real | mStartTime |
Start time (in seconds from start of first call to ParticleSystem to update) More... | |
String | mType |
Name of the type of emitter, MUST be initialised by subclasses. More... | |
Vector3 | mUp |
ParticleVisualData * | mVisual |
Additional visual data you might want to associate with the Particle. More... | |
Vector3 | mXRange |
Local axes, not normalised, their magnitude reflects area size. More... | |
Vector3 | mYRange |
Vector3 | mZRange |
Particle emitter which emits particles randomly from points inside a hollow ellipsoid.
Definition at line 46 of file OgreHollowEllipsoidEmitter.h.
|
inherited |
Ogre::HollowEllipsoidEmitter::HollowEllipsoidEmitter | ( | ParticleSystem * | psys | ) |
|
virtualinherited |
See ParticleEmitter.
Implements Ogre::ParticleEmitter.
|
virtual |
See ParticleEmitter.
Reimplemented from Ogre::EllipsoidEmitter.
|
inherited |
Internal method for notifying the particle of it's owner.
|
inlineinherited |
Internal method for notifying the particle of it's optional visual data.
Definition at line 142 of file OgreParticle.h.
|
protectedinherited |
Internal method for setting up the basic parameter definitions for a subclass.
|
staticinherited |
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g.
MaterialManager) initializes.
|
inlinevirtualinherited |
Method for copying this object's parameters to another object.
dest | Pointer to object to have it's parameters set the same as this object. |
Definition at line 302 of file OgreStringInterface.h.
References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter().
|
inlineprotectedinherited |
Internal method for creating a parameter dictionary for the class, if it does not already exist.
className | the name of the class using the dictionary |
Definition at line 185 of file OgreStringInterface.h.
References OGRE_LOCK_MUTEX.
|
protectedinherited |
Internal method for generating the area axes.
|
protectedvirtualinherited |
Internal utility method for generating an emission count based on a constant emission rate.
|
protectedvirtualinherited |
Internal utility method for generating a colour for a particle.
|
protectedvirtualinherited |
Internal utility method for generating particle exit direction.
destVector | Reference to vector to complete with new direction (normalised) |
|
protectedvirtualinherited |
Internal utility method for generating a time-to-live for a particle.
|
protectedvirtualinherited |
Internal utility method to apply velocity to a particle direction.
destVector | The vector to scale by a randomly generated scale between min and max speed. Assumed normalised already, and likely already oriented in the right direction. |
|
virtualinherited |
Returns the maximum angle which the initial particle direction can deviate from the emitters base direction.
|
virtualinherited |
Gets the colour of particles to be emitted.
|
virtualinherited |
Gets the maximum colour of particles to be emitted.
|
virtualinherited |
Gets the minimum colour of particles to be emitted.
|
inherited |
Gets the depth (local y size) of the emitter.
|
virtualinherited |
Returns the base direction of the emitter.
|
virtualinherited |
Gets the duration of the emitter from when it is created or re-enabled.
|
virtualinherited |
Returns the emission rate set for this emitter.
|
inherited |
Returns the name of the emitter to be emitted.
|
virtualinherited |
Gets the flag indicating if this emitter is enabled or not.
|
inherited |
Gets the height (local y size) of the emitter.
Real Ogre::HollowEllipsoidEmitter::getInnerSizeX | ( | void | ) | const |
Gets the x component of the area inside the ellipsoid which doesn't emit particles.
Real Ogre::HollowEllipsoidEmitter::getInnerSizeY | ( | void | ) | const |
Gets the y component of the area inside the ellipsoid which doesn't emit particles.
Real Ogre::HollowEllipsoidEmitter::getInnerSizeZ | ( | void | ) | const |
Gets the z component of the area inside the ellipsoid which doesn't emit particles.
|
virtualinherited |
Gets the maximum duration of this emitter in seconds (see setDuration for more details)
|
virtualinherited |
Returns the maximum particle velocity.
|
virtualinherited |
Gets the maximum duration of this emitter in seconds (see setRepeatDelay for more details)
|
virtualinherited |
Gets the maximum time each particle will live for.
|
virtualinherited |
Gets the minimum duration of this emitter in seconds (see setDuration for more details)
|
virtualinherited |
Returns the minimum particle velocity.
|
virtualinherited |
Gets the minimum duration of this emitter in seconds (see setRepeatDelay for more details)
|
virtualinherited |
Gets the minimum time each particle will live for.
|
inherited |
Returns the name of the emitter.
|
inlineinherited |
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition at line 129 of file OgreParticle.h.
|
inlineinherited |
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition at line 126 of file OgreParticle.h.
|
inlineinherited |
Retrieves the parameter dictionary for this class.
Definition at line 218 of file OgreStringInterface.h.
|
inlineinherited |
Definition at line 223 of file OgreStringInterface.h.
|
inlinevirtualinherited |
Generic parameter retrieval method.
name | The name of the parameter to get |
Definition at line 271 of file OgreStringInterface.h.
References Ogre::ParamCommand::doGet(), and Ogre::ParamDictionary::getParamCommand().
|
inherited |
Retrieves a list of parameters valid for this object.
|
virtualinherited |
Returns the initial velocity of particles emitted.
|
virtualinherited |
Returns the position of this emitter relative to the center of the particle system.
|
virtualinherited |
Gets the duration of the emitter from when it is created or re-enabled.
|
inlineinherited |
Definition at line 134 of file OgreParticle.h.
|
virtualinherited |
Gets the start time of the emitter.
|
virtualinherited |
Gets the time each particle will live for.
|
inlineinherited |
Returns the name of the type of emitter.
Definition at line 404 of file OgreParticleEmitter.h.
|
virtualinherited |
Returns the up vector of the emitter.
|
inlineinherited |
Get the optional visual data associated with the class.
Definition at line 145 of file OgreParticle.h.
|
inherited |
Gets the width (local x size) of the emitter.
|
inlineinherited |
Returns true if this particle deviates from the ParticleSystem's default dimensions (i.e.
if the particle::setDimensions method has been called for this instance).
Definition at line 123 of file OgreParticle.h.
|
protectedinherited |
Internal for initializing some defaults and parameters.
|
protectedinherited |
Internal method for initialising the duration & repeat of an emitter.
|
virtualinherited |
Return true if the emitter is emitted by another emitter.
|
inlineinherited |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
|
inherited |
Utility method to reset this particle.
Referenced by Ogre::ParticleEmitter::_initParticle().
|
virtualinherited |
Sets the maximum angle away from the emitter direction which particle will be emitted.
degrees | Maximum angle which initial particle direction can deviate from the emitter base direction vector. |
|
virtualinherited |
Sets the initial colour of particles emitted.
colour | The colour which all particles will be given on emission. |
|
virtualinherited |
Sets the range of colours for emitted particles.
colourStart | The start of the colour range |
colourEnd | The end of the colour range |
|
virtualinherited |
Sets the maximum colour of particles to be emitted.
|
virtualinherited |
Sets the minimum colour of particles to be emitted.
|
inherited |
Sets the depth (local y size) of the emitter.
Sets the width and height for this particle.
|
virtualinherited |
|
virtualinherited |
Sets the duration of the emitter.
duration | The duration in seconds. |
Sets the range of random duration for this emitter.
min | The minimum duration in seconds. |
max | The minimum duration in seconds. |
|
virtualinherited |
Sets the emission rate for this emitter.
particlesPerSecond | The number of particles to be emitted every second. |
|
virtualinherited |
Set the indication (true/false) to indicate that the emitter is emitted by another emitter.
|
virtualinherited |
Sets the name of the emitter to be emitted.
|
virtualinherited |
Sets whether or not the emitter is enabled.
|
inherited |
Sets the height (local y size) of the emitter.
Sets the size of the clear space inside the area from where NO particles are emitted.
x,y,z | Parametric values describing the proportion of the shape which is hollow in each direction. E.g. 0 is solid, 0.5 is half-hollow etc |
void Ogre::HollowEllipsoidEmitter::setInnerSizeX | ( | Real | x | ) |
Sets the x component of the area inside the ellipsoid which doesn't emit particles.
x | Parametric value describing the proportion of the shape which is hollow in this direction. E.g. 0 is solid, 0.5 is half-hollow etc |
void Ogre::HollowEllipsoidEmitter::setInnerSizeY | ( | Real | y | ) |
Sets the y component of the area inside the ellipsoid which doesn't emit particles.
y | Parametric value describing the proportion of the shape which is hollow in this direction. E.g. 0 is solid, 0.5 is half-hollow etc |
void Ogre::HollowEllipsoidEmitter::setInnerSizeZ | ( | Real | z | ) |
Sets the z component of the area inside the ellipsoid which doesn't emit particles.
z | Parametric value describing the proportion of the shape which is hollow in this direction. E.g. 0 is solid, 0.5 is half-hollow etc |
|
virtualinherited |
Sets the maximum duration of this emitter in seconds (see setDuration for more details)
|
virtualinherited |
Returns the maximum particle velocity.
|
virtualinherited |
Sets the maximum duration of this emitter in seconds (see setRepeatDelay for more details)
|
virtualinherited |
Sets the maximum time each particle will live for.
|
virtualinherited |
Sets the minimum duration of this emitter in seconds (see setDuration for more details)
|
virtualinherited |
Returns the minimum particle velocity.
|
virtualinherited |
Sets the minimum duration of this emitter in seconds (see setRepeatDelay for more details)
|
virtualinherited |
Sets the minimum time each particle will live for.
|
virtualinherited |
Sets the name of the emitter.
|
virtualinherited |
Generic parameter setting method.
name | The name of the parameter to set |
value | String value. Must be in the right format for the type specified in the parameter definition. See the StringConverter class for more information. |
Referenced by Ogre::StringInterface::copyParametersTo().
|
virtualinherited |
Generic multiple parameter setting method.
paramList | Name/value pair list |
|
virtualinherited |
Sets the initial velocity of particles emitted.
speed | The initial speed in world units per second which every particle emitted starts with. |
Sets the initial velocity range of particles emitted.
max | The maximum speed in world units per second for the initial particle speed on emission. |
min | The minimum speed in world units per second for the initial particle speed on emission. |
|
virtualinherited |
Sets the position of this emitter relative to the particle system center.
|
virtualinherited |
Sets the time between repeats of the emitter.
duration | The duration in seconds. |
Sets the range of random duration for this emitter.
min | The minimum duration in seconds. |
max | The minimum duration in seconds. |
|
inherited |
Sets the current rotation.
|
inherited |
Sets the size of the area from which particles are emitted.
size | Vector describing the size of the area. The area extends around the center point by half the x, y and z components of this vector. The box is aligned such that it's local Z axis points along it's direction (see setDirection) |
Sets the size of the area from which particles are emitted.
x,y,z | Individual axis lengths describing the size of the area. The area extends around the center point by half the x, y and z components of this vector. The box is aligned such that it's local Z axis points along it's direction (see setDirection) |
|
virtualinherited |
Sets the 'start time' of this emitter.
startTime | The time in seconds from the creation or enabling of the emitter. |
|
virtualinherited |
Sets the lifetime of all particles emitted.
ttl | The number of seconds each particle will live for. |
Sets the range of lifetime for particles emitted.
minTtl | The minimum number of seconds each particle will live for. |
maxTtl | The maximum number of seconds each particle will live for. |
|
virtualinherited |
Sets the notional up vector of the emitter.
up | The base direction for particles emitted. It must be perpendicular to the direction vector. |
|
inherited |
Sets the width (local x size) of the emitter.
|
inherited |
Current colour.
Definition at line 91 of file OgreParticle.h.
|
inherited |
Direction (and speed)
Definition at line 89 of file OgreParticle.h.
|
protectedinherited |
Angle around direction which particles may be emitted, internally radians but angleunits for interface.
Definition at line 114 of file OgreParticleEmitter.h.
|
protectedinherited |
Initial colour of particles (range end)
Definition at line 126 of file OgreParticleEmitter.h.
|
protectedinherited |
Initial colour of particles (range start)
Definition at line 124 of file OgreParticleEmitter.h.
|
protectedinherited |
Base direction of the emitter, may not be used by some emitters.
Definition at line 110 of file OgreParticleEmitter.h.
|
protectedinherited |
Maximum length of time the emitter will run for (0 = forever)
Definition at line 136 of file OgreParticleEmitter.h.
|
protectedinherited |
Minimum length of time emitter will run for (0 = forever)
Definition at line 134 of file OgreParticleEmitter.h.
|
protectedinherited |
Current duration remainder.
Definition at line 138 of file OgreParticleEmitter.h.
|
protectedinherited |
Rate in particles per second at which this emitter wishes to emit particles.
Definition at line 106 of file OgreParticleEmitter.h.
|
protectedinherited |
Definition at line 157 of file OgreParticleEmitter.h.
|
protectedinherited |
The name of the emitter to be emitted (optional)
Definition at line 153 of file OgreParticleEmitter.h.
|
protectedinherited |
Whether this emitter is currently enabled (defaults to true)
Definition at line 129 of file OgreParticleEmitter.h.
|
inherited |
Personal height if mOwnDimensions == true.
Definition at line 81 of file OgreParticle.h.
|
protected |
Size of 'clear' center area (> 0 and < 1.0)
Definition at line 113 of file OgreHollowEllipsoidEmitter.h.
|
protectedinherited |
Max speed of particles.
Definition at line 118 of file OgreParticleEmitter.h.
|
protectedinherited |
Initial time-to-live of particles (max)
Definition at line 122 of file OgreParticleEmitter.h.
|
protectedinherited |
Min speed of particles.
Definition at line 116 of file OgreParticleEmitter.h.
|
protectedinherited |
Initial time-to-live of particles (min)
Definition at line 120 of file OgreParticleEmitter.h.
|
protectedinherited |
The name of the emitter. The name is optional unless it is used as an emitter that is emitted itself.
Definition at line 150 of file OgreParticleEmitter.h.
|
inherited |
Does this particle have it's own dimensions?
Definition at line 77 of file OgreParticle.h.
|
protectedinherited |
Parent particle system.
Definition at line 102 of file OgreParticleEmitter.h.
|
protectedinherited |
Parent ParticleSystem.
Definition at line 65 of file OgreParticle.h.
|
protectedinherited |
Position relative to the center of the ParticleSystem.
Definition at line 104 of file OgreParticleEmitter.h.
|
protectedinherited |
Definition at line 147 of file OgreParticleEmitter.h.
|
protectedinherited |
Definition at line 142 of file OgreParticleEmitter.h.
|
protectedinherited |
Time between each repeat.
Definition at line 141 of file OgreParticleEmitter.h.
|
protectedinherited |
Repeat delay left.
Definition at line 144 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 77 of file OgreParticleEmitter.h.
|
staticprotected |
Definition at line 115 of file OgreHollowEllipsoidEmitter.h.
|
staticprotected |
Definition at line 116 of file OgreHollowEllipsoidEmitter.h.
|
staticprotected |
Definition at line 117 of file OgreHollowEllipsoidEmitter.h.
|
staticprotectedinherited |
Definition at line 78 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 80 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 79 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 130 of file OgreAreaEmitter.h.
|
staticprotectedinherited |
Definition at line 81 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 91 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 83 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 98 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 129 of file OgreAreaEmitter.h.
|
protectedinherited |
Size of the area.
Definition at line 115 of file OgreAreaEmitter.h.
|
staticprotectedinherited |
Definition at line 93 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 96 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 84 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 85 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 92 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 95 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 86 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 87 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 97 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 88 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 94 of file OgreParticleEmitter.h.
|
protectedinherited |
Start time (in seconds from start of first call to ParticleSystem to update)
Definition at line 132 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 89 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 82 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Definition at line 90 of file OgreParticleEmitter.h.
|
staticprotectedinherited |
Command objects.
Definition at line 128 of file OgreAreaEmitter.h.
|
protectedinherited |
Name of the type of emitter, MUST be initialised by subclasses.
Definition at line 108 of file OgreParticleEmitter.h.
|
protectedinherited |
Definition at line 112 of file OgreParticleEmitter.h.
|
protectedinherited |
Additional visual data you might want to associate with the Particle.
Definition at line 67 of file OgreParticle.h.
|
inherited |
Personal width if mOwnDimensions == true.
Definition at line 79 of file OgreParticle.h.
|
protectedinherited |
Local axes, not normalised, their magnitude reflects area size.
Definition at line 118 of file OgreAreaEmitter.h.
|
protectedinherited |
Definition at line 118 of file OgreAreaEmitter.h.
|
protectedinherited |
Definition at line 118 of file OgreAreaEmitter.h.
|
inherited |
Determines the type of particle.
Definition at line 99 of file OgreParticle.h.
|
inherited |
World position.
Definition at line 87 of file OgreParticle.h.
|
inherited |
Current rotation value.
Definition at line 83 of file OgreParticle.h.
|
inherited |
Speed of rotation in radians/sec.
Definition at line 97 of file OgreParticle.h.
|
inherited |
Time to live, number of seconds left of particles natural life.
Definition at line 93 of file OgreParticle.h.
|
inherited |
Total Time to live, number of seconds of particles natural life.
Definition at line 95 of file OgreParticle.h.