|  | OGRE 14.3
    Object-Oriented Graphics Rendering Engine | 
Class representing a single particle instance. More...
#include <OgreParticle.h>
 Inheritance diagram for Ogre::Particle:
 Inheritance diagram for Ogre::Particle:| Public Types | |
| enum | ParticleType : uint8 { Visual , Emitter } | 
| Type of particle.  More... | |
| Public Member Functions | |
| Particle () | |
| float | getOwnHeight (void) const | 
| Retrieves the particle's personal width, if hasOwnDimensions is true. | |
| float | getOwnWidth (void) const | 
| Retrieves the particle's personal width, if hasOwnDimensions is true. | |
| const Radian & | getRotation (void) const | 
| bool | hasOwnDimensions (void) const | 
| void | setDimensions (float width, float height) | 
| Sets the width and height for this particle. | |
| void | setRotation (const Radian &rad) | 
| Sets the current rotation. | |
| Public Attributes | |
| RGBA | mColour | 
| Current colour. | |
| Vector3 | mDirection | 
| Direction (and speed) | |
| float | mHeight | 
| Particle height. | |
| ParticleType | mParticleType | 
| Determines the type of particle. | |
| Vector3 | mPosition | 
| World position. | |
| uint8 | mRandomTexcoordOffset | 
| Radian | mRotation | 
| Current rotation value. | |
| Radian | mRotationSpeed | 
| Speed of rotation in radians/sec. | |
| uint8 | mTexcoordIndex | 
| Index into the array of texture coordinates. | |
| float | mTimeToLive | 
| Time to live, number of seconds left of particles natural life. | |
| float | mTotalTimeToLive | 
| Total Time to live, number of seconds of particles natural life. | |
| float | mWidth | 
| Particle width. | |
Class representing a single particle instance.
| 
 | inline | 
References mColour, mDirection, mHeight, mParticleType, mPosition, mRandomTexcoordOffset, mRotation, mRotationSpeed, mTexcoordIndex, mTimeToLive, mTotalTimeToLive, mWidth, and Visual.
Referenced by Ogre::ParticleEmitter::_initParticle().
| 
 | inline | 
Sets the width and height for this particle.
References mHeight, and mWidth.
Referenced by Ogre::ParticleEmitter::_initParticle().
| 
 | inline | 
| 
 | inline | 
Retrieves the particle's personal width, if hasOwnDimensions is true.
References mWidth.
| 
 | inline | 
Retrieves the particle's personal width, if hasOwnDimensions is true.
References mHeight.
| 
 | inline | 
Sets the current rotation.
References mRotation.
| float Ogre::Particle::mWidth | 
Particle width.
Referenced by Particle(), getOwnWidth(), and setDimensions().
| float Ogre::Particle::mHeight | 
Particle height.
Referenced by Particle(), getOwnHeight(), and setDimensions().
| Radian Ogre::Particle::mRotation | 
Current rotation value.
Referenced by Particle(), getRotation(), and setRotation().
| Vector3 Ogre::Particle::mPosition | 
World position.
Referenced by Particle().
| Vector3 Ogre::Particle::mDirection | 
Direction (and speed)
Referenced by Particle().
| RGBA Ogre::Particle::mColour | 
Current colour.
Referenced by Particle().
| float Ogre::Particle::mTimeToLive | 
Time to live, number of seconds left of particles natural life.
Referenced by Particle().
| float Ogre::Particle::mTotalTimeToLive | 
Total Time to live, number of seconds of particles natural life.
Referenced by Particle().
| Radian Ogre::Particle::mRotationSpeed | 
Speed of rotation in radians/sec.
Referenced by Particle().
| ParticleType Ogre::Particle::mParticleType | 
Determines the type of particle.
Referenced by Particle().
| uint8 Ogre::Particle::mTexcoordIndex | 
Index into the array of texture coordinates.
Referenced by Particle().
| uint8 Ogre::Particle::mRandomTexcoordOffset | 
Referenced by Particle().