Class representing a single particle instance.
More...
#include <OgreParticle.h>
Class representing a single particle instance.
◆ ParticleType
◆ Particle()
| Ogre::Particle::Particle |
( |
| ) |
|
|
inline |
◆ setDimensions()
| void Ogre::Particle::setDimensions |
( |
Real |
width, |
|
|
Real |
height |
|
) |
| |
Sets the width and height for this particle.
◆ hasOwnDimensions()
| bool Ogre::Particle::hasOwnDimensions |
( |
void |
| ) |
const |
|
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).
- See also
- particle::setDimensions
◆ getOwnWidth()
| Real Ogre::Particle::getOwnWidth |
( |
void |
| ) |
const |
|
inline |
Retrieves the particle's personal width, if hasOwnDimensions is true.
◆ getOwnHeight()
| Real Ogre::Particle::getOwnHeight |
( |
void |
| ) |
const |
|
inline |
Retrieves the particle's personal width, if hasOwnDimensions is true.
◆ setRotation()
| void Ogre::Particle::setRotation |
( |
const Radian & |
rad | ) |
|
Sets the current rotation.
◆ getRotation()
| const Radian & Ogre::Particle::getRotation |
( |
void |
| ) |
const |
|
inline |
◆ _notifyOwner()
Internal method for notifying the particle of it's owner.
◆ _notifyVisualData()
Internal method for notifying the particle of it's optional visual data.
◆ getVisualData()
Get the optional visual data associated with the class.
◆ resetDimensions()
| void Ogre::Particle::resetDimensions |
( |
void |
| ) |
|
◆ mOwnDimensions
| bool Ogre::Particle::mOwnDimensions |
Does this particle have it's own dimensions?
◆ mWidth
| Real Ogre::Particle::mWidth |
Personal width if mOwnDimensions == true.
◆ mHeight
| Real Ogre::Particle::mHeight |
Personal height if mOwnDimensions == true.
◆ mRotation
| Radian Ogre::Particle::mRotation |
◆ mPosition
◆ mDirection
◆ mColour
◆ mTimeToLive
| Real Ogre::Particle::mTimeToLive |
Time to live, number of seconds left of particles natural life.
◆ mTotalTimeToLive
| Real Ogre::Particle::mTotalTimeToLive |
Total Time to live, number of seconds of particles natural life.
◆ mRotationSpeed
| Radian Ogre::Particle::mRotationSpeed |
Speed of rotation in radians/sec.
◆ mParticleType
Determines the type of particle.
The documentation for this class was generated from the following file: