#include <OgreParticle.h>
Inheritance diagram for Ogre::Particle:
Public Methods | |
Particle () | |
void | setPosition (const Vector3 &position) |
Set the position of the billboard. More... | |
void | setPosition (Real x, Real y, Real z) |
Set the position of the billboard. More... | |
const Vector3 & | getPosition (void) const |
Get the position of the billboard. More... | |
void | setDimensions (Real width, Real height) |
Sets the width and height for this billboard. More... | |
void | setColour (const ColourValue &colour) |
Sets the colour of this billboard. More... | |
const ColourValue & | getColour (void) const |
Gets the colour of this billboard. More... | |
bool | hasOwnDimensions (void) const |
Returns true if this billboard deviates from the BillboardSet's default dimensions (i.e. More... | |
Real | getOwnWidth (void) |
Retrieves the billboard's personal width, if hasOwnDimensions is true. More... | |
Real | getOwnHeight (void) |
Retrieves the billboard's personal width, if hasOwnDimensions is true. More... | |
void | _notifyOwner (BillboardSet *owner) |
Internal method for notifying the billboard of it's owner. More... | |
Public Attributes | |
Real | mTimeToLive |
Time to live, number of seconds left of particles natural life. More... | |
Vector3 | mPosition |
Vector3 | mDirection |
BillboardSet * | mParentSet |
ColourValue | mColour |
Protected Attributes | |
bool | mOwnDimensions |
Real | mWidth |
Real | mHeight |
|
|
|
Internal method for notifying the billboard of it's owner.
|
|
Gets the colour of this billboard.
|
|
Retrieves the billboard's personal width, if hasOwnDimensions is true.
|
|
Retrieves the billboard's personal width, if hasOwnDimensions is true.
|
|
Get the position of the billboard.
|
|
Returns true if this billboard deviates from the BillboardSet's default dimensions (i.e. if the Billboard::setDimensions method has been called for this instance).
|
|
Sets the colour of this billboard.
|
|
Sets the width and height for this billboard.
|
|
Set the position of the billboard.
|
|
Set the position of the billboard.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Time to live, number of seconds left of particles natural life.
|
|
|
Copyright © 2002 by The OGRE Team