OpenMW
|
Classes | |
class | CmdDirection |
class | CmdForce |
class | CmdForceType |
class | CmdPosition |
Public Member Functions | |
Ogre::ParticleSystem * | getPartSys () |
GravityAffector (Ogre::ParticleSystem *psys) | |
void | _affectParticles (Ogre::ParticleSystem *psys, Ogre::Real timeElapsed) |
void | setForce (Ogre::Real force) |
Ogre::Real | getForce () const |
void | setForceType (ForceType type) |
ForceType | getForceType () const |
void | setDirection (const Ogre::Vector3 &dir) |
const Ogre::Vector3 & | getDirection () const |
void | setPosition (const Ogre::Vector3 &pos) |
const Ogre::Vector3 & | getPosition () const |
Public Attributes | |
Ogre::Bone * | mEmitterBone |
Ogre::Bone * | mParticleBone |
Static Public Attributes | |
static CmdForce | msForceCmd |
static CmdForceType | msForceTypeCmd |
static CmdDirection | msDirectionCmd |
static CmdPosition | msPositionCmd |
Protected Member Functions | |
void | applyWindForce (Ogre::ParticleSystem *psys, Ogre::Real timeElapsed) |
void | applyPointForce (Ogre::ParticleSystem *psys, Ogre::Real timeElapsed) |
Protected Attributes | |
float | mForce |
ForceType | mForceType |
Ogre::Vector3 | mPosition |
Ogre::Vector3 | mDirection |
Private Types | |
enum | ForceType { Type_Wind, Type_Point } |
enum GravityAffector::ForceType [private] |
GravityAffector::GravityAffector | ( | Ogre::ParticleSystem * | psys | ) | [inline] |
Default constructor.
void GravityAffector::_affectParticles | ( | Ogre::ParticleSystem * | psys, |
Ogre::Real | timeElapsed | ||
) | [inline] |
See Ogre::ParticleAffector.
void GravityAffector::applyPointForce | ( | Ogre::ParticleSystem * | psys, |
Ogre::Real | timeElapsed | ||
) | [inline, protected] |
void GravityAffector::applyWindForce | ( | Ogre::ParticleSystem * | psys, |
Ogre::Real | timeElapsed | ||
) | [inline, protected] |
const Ogre::Vector3& GravityAffector::getDirection | ( | ) | const [inline] |
Ogre::Real GravityAffector::getForce | ( | ) | const [inline] |
ForceType GravityAffector::getForceType | ( | ) | const [inline] |
Ogre::ParticleSystem* GravityAffector::getPartSys | ( | ) | [inline] |
const Ogre::Vector3& GravityAffector::getPosition | ( | ) | const [inline] |
void GravityAffector::setDirection | ( | const Ogre::Vector3 & | dir | ) | [inline] |
void GravityAffector::setForce | ( | Ogre::Real | force | ) | [inline] |
void GravityAffector::setForceType | ( | ForceType | type | ) | [inline] |
void GravityAffector::setPosition | ( | const Ogre::Vector3 & | pos | ) | [inline] |
Ogre::Vector3 GravityAffector::mDirection [protected] |
Ogre::Bone* GravityAffector::mEmitterBone |
float GravityAffector::mForce [protected] |
ForceType GravityAffector::mForceType [protected] |
Ogre::Bone* GravityAffector::mParticleBone |
Ogre::Vector3 GravityAffector::mPosition [protected] |