#include <OgreParticle.h>
Inheritance diagram for Ogre::Particle:
Public Types | |
enum | ParticleType { Visual, Emitter } |
Type of particle. More... | |
Public Member Functions | |
Particle () | |
void | setDimensions (Real width, Real height) |
Sets the width and height for this particle. | |
bool | hasOwnDimensions (void) const |
Returns true if this particle deviates from the ParticleSystem's default dimensions (i.e. | |
Real | getOwnWidth (void) const |
Retrieves the particle's personal width, if hasOwnDimensions is true. | |
Real | getOwnHeight (void) const |
Retrieves the particle's personal width, if hasOwnDimensions is true. | |
void | setRotation (const Radian &rad) |
Sets the current rotation. | |
const Radian & | getRotation (void) const |
void | _notifyOwner (ParticleSystem *owner) |
Internal method for notifying the particle of it's owner. | |
void | _notifyVisualData (ParticleVisualData *vis) |
Internal method for notifying the particle of it's optional visual data. | |
ParticleVisualData * | getVisualData (void) const |
Get the optional visual data associated with the class. | |
void | resetDimensions (void) |
Utility method to reset this particle. | |
Public Attributes | |
bool | mOwnDimensions |
Does this particle have it's own dimensions? | |
Real | mWidth |
Personal width if mOwnDimensions == true. | |
Real | mHeight |
Personal height if mOwnDimensions == true. | |
Radian | rotation |
Current rotation value. | |
Vector3 | position |
World position. | |
Vector3 | direction |
Direction (and speed). | |
ColourValue | colour |
Current colour. | |
Real | timeToLive |
Time to live, number of seconds left of particles natural life. | |
Real | totalTimeToLive |
Total Time to live, number of seconds of particles natural life. | |
Radian | rotationSpeed |
Speed of rotation in radians/sec. | |
ParticleType | particleType |
Determines the type of particle. | |
Protected Attributes | |
ParticleSystem * | mParentSystem |
Parent ParticleSystem. | |
ParticleVisualData * | mVisual |
Additional visual data you might want to associate with the Particle. |
Definition at line 55 of file OgreParticle.h.
|
Type of particle.
Definition at line 64 of file OgreParticle.h. |
|
Definition at line 95 of file OgreParticle.h. |
|
Internal method for notifying the particle of it's owner.
|
|
Internal method for notifying the particle of it's optional visual data.
Definition at line 136 of file OgreParticle.h. |
|
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition at line 123 of file OgreParticle.h. |
|
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition at line 120 of file OgreParticle.h. |
|
Definition at line 128 of file OgreParticle.h. |
|
Get the optional visual data associated with the class.
Definition at line 139 of file OgreParticle.h. |
|
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 117 of file OgreParticle.h. |
|
Utility method to reset this particle.
|
|
Sets the width and height for this particle.
|
|
Sets the current rotation.
|
|
Current colour.
Definition at line 85 of file OgreParticle.h. |
|
Direction (and speed).
Definition at line 83 of file OgreParticle.h. |
|
Personal height if mOwnDimensions == true.
Definition at line 75 of file OgreParticle.h. |
|
Does this particle have it's own dimensions?
Definition at line 71 of file OgreParticle.h. |
|
Parent ParticleSystem.
Definition at line 59 of file OgreParticle.h. |
|
Additional visual data you might want to associate with the Particle.
Definition at line 61 of file OgreParticle.h. |
|
Personal width if mOwnDimensions == true.
Definition at line 73 of file OgreParticle.h. |
|
Determines the type of particle.
Definition at line 93 of file OgreParticle.h. |
|
World position.
Definition at line 81 of file OgreParticle.h. |
|
Current rotation value.
Definition at line 77 of file OgreParticle.h. |
|
Speed of rotation in radians/sec.
Definition at line 91 of file OgreParticle.h. |
|
Time to live, number of seconds left of particles natural life.
Definition at line 87 of file OgreParticle.h. |
|
Total Time to live, number of seconds of particles natural life.
Definition at line 89 of file OgreParticle.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Thu Mar 6 09:47:34 2008