#include <OgreParticle.h>
Inheritance diagram for Ogre::Particle:
Public Methods | |
Particle () | |
Real | getRotationSpeed (void) const |
void | setRotationSpeed (Real rotation) |
Real | getRotation (void) const |
Get the rotation of the billboard. | |
void | setRotation (Real rotation) |
Set the rotation of the billboard. | |
void | setPosition (const Vector3 &position) |
Set the position of the billboard. | |
void | setPosition (Real x, Real y, Real z) |
Set the position of the billboard. | |
const Vector3 & | getPosition (void) const |
Get the position of the billboard. | |
void | setDimensions (Real width, Real height) |
Sets the width and height for this billboard. | |
void | resetDimensions (void) |
Resets this Billboard to use the parent BillboardSet's dimensions instead of it's own. | |
void | setColour (const ColourValue &colour) |
Sets the colour of this billboard. | |
const ColourValue & | getColour (void) const |
Gets the colour of this billboard. | |
bool | hasOwnDimensions (void) const |
Returns true if this billboard deviates from the BillboardSet's default dimensions (i.e. | |
Real | getOwnWidth (void) const |
Retrieves the billboard's personal width, if hasOwnDimensions is true. | |
Real | getOwnHeight (void) const |
Retrieves the billboard's personal width, if hasOwnDimensions is true. | |
void | _notifyOwner (BillboardSet *owner) |
Internal method for notifying the billboard of it's owner. | |
Public Attributes | |
Real | mTimeToLive |
Time to live, number of seconds left of particles natural life. | |
Real | mTotalTimeToLive |
Total Time to live, number of seconds of particles natural life. | |
Real | mRotationSpeed |
Speed of rotation in radians. | |
Vector3 | mPosition |
Vector3 | mDirection |
BillboardSet * | mParentSet |
ColourValue | mColour |
Real | mRotation |
Protected Attributes | |
bool | mOwnDimensions |
Real | mWidth |
Real | mHeight |
|
Definition at line 50 of file OgreParticle.h. |
|
Internal method for notifying the billboard of it's owner.
Definition at line 98 of file OgreBillboard.cpp. References Ogre::Billboard::mParentSet. Referenced by Ogre::ParticleSystem::addParticle(), and Ogre::BillboardSet::createBillboard(). |
|
Gets the colour of this billboard.
Definition at line 108 of file OgreBillboard.cpp. References Ogre::Billboard::mColour. |
|
Retrieves the billboard's personal width, if hasOwnDimensions is true.
Definition at line 118 of file OgreBillboard.cpp. References Ogre::Billboard::mHeight, and Ogre::Real. Referenced by Ogre::ScaleAffector::_affectParticles(). |
|
Retrieves the billboard's personal width, if hasOwnDimensions is true.
Definition at line 113 of file OgreBillboard.cpp. References Ogre::Billboard::mWidth, and Ogre::Real. Referenced by Ogre::ScaleAffector::_affectParticles(). |
|
Get the position of the billboard.
Definition at line 80 of file OgreBillboard.cpp. References Ogre::Billboard::mPosition. |
|
Get the rotation of the billboard.
Definition at line 56 of file OgreBillboard.cpp. References Ogre::Billboard::mRotation, and Ogre::Real. Referenced by Ogre::RotationAffector::_affectParticles(). |
|
Definition at line 55 of file OgreParticle.h. References Ogre::Real. Referenced by Ogre::RotationAffector::_affectParticles(). |
|
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).
Definition at line 93 of file OgreBillboard.cpp. References Ogre::Billboard::mOwnDimensions. Referenced by Ogre::ScaleAffector::_affectParticles(). |
|
Resets this Billboard to use the parent BillboardSet's dimensions instead of it's own.
Definition at line 131 of file OgreBillboard.h. Referenced by Ogre::ParticleEmitter::_initParticle(), and Ogre::HollowEllipsoidEmitter::_initParticle(). |
|
Sets the colour of this billboard.
Definition at line 103 of file OgreBillboard.cpp. References Ogre::Billboard::mColour. Referenced by Ogre::BillboardSet::createBillboard(). |
|
Sets the width and height for this billboard.
Definition at line 85 of file OgreBillboard.cpp. References Ogre::BillboardSet::_notifyBillboardResized(), Ogre::Billboard::mHeight, Ogre::Billboard::mOwnDimensions, Ogre::Billboard::mParentSet, Ogre::Billboard::mWidth, and Ogre::Real. Referenced by Ogre::ScaleAffector::_affectParticles(). |
|
Set the position of the billboard.
Definition at line 73 of file OgreBillboard.cpp. References Ogre::Billboard::mPosition, Ogre::Real, Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z. |
|
Set the position of the billboard.
Definition at line 68 of file OgreBillboard.cpp. References Ogre::Billboard::mPosition. Referenced by Ogre::BillboardSet::createBillboard(). |
|
Set the rotation of the billboard.
Definition at line 61 of file OgreBillboard.cpp. References Ogre::BillboardSet::_notifyBillboardTextureCoordsModified(), Ogre::Billboard::mParentSet, Ogre::Billboard::mRotation, and Ogre::Real. Referenced by Ogre::RotationAffector::_affectParticles(), and Ogre::RotationAffector::_initParticle(). |
|
Definition at line 56 of file OgreParticle.h. References Ogre::Real. Referenced by Ogre::RotationAffector::_initParticle(). |
|
|
|
Definition at line 63 of file OgreBillboard.h. Referenced by Ogre::Billboard::getOwnHeight(), and Ogre::Billboard::setDimensions(). |
|
Definition at line 61 of file OgreBillboard.h. Referenced by Ogre::Billboard::Billboard(), Ogre::Billboard::hasOwnDimensions(), and Ogre::Billboard::setDimensions(). |
|
Definition at line 70 of file OgreBillboard.h. Referenced by Ogre::Billboard::_notifyOwner(), Ogre::Billboard::Billboard(), Ogre::Billboard::setDimensions(), and Ogre::Billboard::setRotation(). |
|
|
Definition at line 72 of file OgreBillboard.h. Referenced by Ogre::BillboardSet::genVertices(), Ogre::Billboard::getRotation(), and Ogre::Billboard::setRotation(). |
|
Speed of rotation in radians.
Definition at line 47 of file OgreParticle.h. |
|
Time to live, number of seconds left of particles natural life.
Definition at line 43 of file OgreParticle.h. Referenced by Ogre::ColourInterpolatorAffector::_affectParticles(), Ogre::ColourImageAffector::_affectParticles(), Ogre::ColourFaderAffector2::_affectParticles(), Ogre::ParticleSystem::_expire(), Ogre::RingEmitter::_initParticle(), Ogre::PointEmitter::_initParticle(), Ogre::HollowEllipsoidEmitter::_initParticle(), Ogre::EllipsoidEmitter::_initParticle(), Ogre::CylinderEmitter::_initParticle(), and Ogre::BoxEmitter::_initParticle(). |
|
Total Time to live, number of seconds of particles natural life.
Definition at line 45 of file OgreParticle.h. Referenced by Ogre::ColourInterpolatorAffector::_affectParticles(), Ogre::ColourImageAffector::_affectParticles(), Ogre::RingEmitter::_initParticle(), Ogre::PointEmitter::_initParticle(), Ogre::HollowEllipsoidEmitter::_initParticle(), Ogre::EllipsoidEmitter::_initParticle(), Ogre::CylinderEmitter::_initParticle(), and Ogre::BoxEmitter::_initParticle(). |
|
Definition at line 62 of file OgreBillboard.h. Referenced by Ogre::Billboard::getOwnWidth(), and Ogre::Billboard::setDimensions(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:18:52 2004