OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Class representing a single particle instance. More...
#include <OgreParticle.h>
Public Types | |
enum | ParticleType { Visual, Emitter } |
Type of particle. More... | |
Public Member Functions | |
Particle () | |
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... | |
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... | |
const Radian & | getRotation (void) const |
ParticleVisualData * | getVisualData (void) const |
Get the optional visual data associated with the class. More... | |
bool | hasOwnDimensions (void) const |
Returns true if this particle deviates from the ParticleSystem's default dimensions (i.e. 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... | |
void | setDimensions (Real width, Real height) |
Sets the width and height for this particle. More... | |
void | setRotation (const Radian &rad) |
Sets the current rotation. More... | |
Public Attributes | |
ColourValue | mColour |
Current colour. More... | |
Vector3 | mDirection |
Direction (and speed) More... | |
Real | mHeight |
Personal height if mOwnDimensions == true. More... | |
bool | mOwnDimensions |
Does this particle have it's own dimensions? More... | |
ParticleType | mParticleType |
Determines the type of particle. More... | |
Vector3 | mPosition |
World position. More... | |
Radian | mRotation |
Current rotation value. More... | |
Radian | mRotationSpeed |
Speed of rotation in radians/sec. More... | |
Real | mTimeToLive |
Time to live, number of seconds left of particles natural life. More... | |
Real | mTotalTimeToLive |
Total Time to live, number of seconds of particles natural life. More... | |
Real | mWidth |
Personal width if mOwnDimensions == true. More... | |
Class representing a single particle instance.
|
inline |
void Ogre::Particle::_notifyOwner | ( | ParticleSystem * | owner | ) |
Internal method for notifying the particle of it's owner.
|
inline |
Internal method for notifying the particle of it's optional visual data.
|
inline |
Retrieves the particle's personal width, if hasOwnDimensions is true.
|
inline |
Retrieves the particle's personal width, if hasOwnDimensions is true.
|
inline |
|
inline |
Get the optional visual data associated with the class.
|
inline |
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).
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
|
inlineinherited |
placement operator new
|
inlineinherited |
array operator new, with debug line info
|
inlineinherited |
void Ogre::Particle::resetDimensions | ( | void | ) |
Utility method to reset this particle.
Referenced by Ogre::ParticleEmitter::_initParticle().
Sets the width and height for this particle.
void Ogre::Particle::setRotation | ( | const Radian & | rad | ) |
Sets the current rotation.
ColourValue Ogre::Particle::mColour |
Current colour.
Vector3 Ogre::Particle::mDirection |
Direction (and speed)
Real Ogre::Particle::mHeight |
Personal height if mOwnDimensions == true.
bool Ogre::Particle::mOwnDimensions |
Does this particle have it's own dimensions?
ParticleType Ogre::Particle::mParticleType |
Determines the type of particle.
Vector3 Ogre::Particle::mPosition |
World position.
Radian Ogre::Particle::mRotation |
Current rotation value.
Radian Ogre::Particle::mRotationSpeed |
Speed of rotation in radians/sec.
Real Ogre::Particle::mTimeToLive |
Time to live, number of seconds left of particles natural life.
Real Ogre::Particle::mTotalTimeToLive |
Total Time to live, number of seconds of particles natural life.
Real Ogre::Particle::mWidth |
Personal width if mOwnDimensions == true.