Class representing colour.
Class defining particle system based special effects.
Abstract class containing any additional data required to be associated with a particle to perform th...
virtual ~ParticleVisualData()
Real timeToLive
Time to live, number of seconds left of particles natural life.
ParticleType particleType
Determines the type of particle.
ParticleType
Type of particle.
Radian rotation
Current rotation value.
Vector3 position
World position.
ParticleVisualData * getVisualData(void) const
Get the optional visual data associated with the class.
void resetDimensions(void)
Utility method to reset this particle.
Real totalTimeToLive
Total Time to live, number of seconds of particles natural life.
void _notifyOwner(ParticleSystem *owner)
Internal method for notifying the particle of it's owner.
ParticleVisualData * mVisual
Additional visual data you might want to associate with the Particle.
void setDimensions(Real width, Real height)
Sets the width and height for this particle.
Radian rotationSpeed
Speed of rotation in radians/sec.
Real getOwnHeight(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
Real mHeight
Personal height if mOwnDimensions == true.
ParticleSystem * mParentSystem
Parent ParticleSystem.
void setRotation(const Radian &rad)
Sets the current rotation.
bool mOwnDimensions
Does this particle have it's own dimensions?
const Radian & getRotation(void) const
Vector3 direction
Direction (and speed)
void _notifyVisualData(ParticleVisualData *vis)
Internal method for notifying the particle of it's optional visual data.
Real mWidth
Personal width if mOwnDimensions == true.
Real getOwnWidth(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
ColourValue colour
Current colour.
bool hasOwnDimensions(void) const
Returns true if this particle deviates from the ParticleSystem's default dimensions (i....
Wrapper class which indicates a given angle value is in Radians.
Standard 3-dimensional vector.
float Real
Software floating point type.
SceneObjAllocatedObject FXAlloc