![]() |
RigsofRods
2023.09
Soft-body Physics Simulation
|
This class defines a ParticleAffector which deflects particles. More...
#include <FireExtinguisherAffector.h>
Inheritance diagram for Ogre::FireExtinguisherAffector:Data Structures | |
| class | CmdEffectiveness |
| Command object for bounce (see ParamCommand). More... | |
Public Member Functions | |
| FireExtinguisherAffector (ParticleSystem *psys) | |
| Default constructor. More... | |
| void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed) |
| See ParticleAffector. More... | |
| void | setEffectiveness (Real effectiveness) |
| Sets the bounce value of the deflection. More... | |
| Real | getEffectiveness (void) const |
| Gets the bounce value of the deflection. More... | |
Static Public Attributes | |
| static CmdEffectiveness | msEffectivenessCmd |
| Command objects. More... | |
Protected Attributes | |
| ExtinguishableFireAffectorFactory * | mEfaf |
| Real | mEffectiveness |
| effectiveness factor (1 means as effective as water, everything higher is more effective while anything lower is less effective) More... | |
This class defines a ParticleAffector which deflects particles.
Definition at line 46 of file FireExtinguisherAffector.h.
| Ogre::FireExtinguisherAffector::FireExtinguisherAffector | ( | ParticleSystem * | psys | ) |
Default constructor.
Definition at line 42 of file FireExtinguisherAffector.cpp.
| void Ogre::FireExtinguisherAffector::_affectParticles | ( | ParticleSystem * | pSystem, |
| Real | timeElapsed | ||
| ) |
See ParticleAffector.
Definition at line 78 of file FireExtinguisherAffector.cpp.
| Real Ogre::FireExtinguisherAffector::getEffectiveness | ( | void | ) | const |
Gets the bounce value of the deflection.
Definition at line 120 of file FireExtinguisherAffector.cpp.
| void Ogre::FireExtinguisherAffector::setEffectiveness | ( | Real | effectiveness | ) |
Sets the bounce value of the deflection.
Definition at line 115 of file FireExtinguisherAffector.cpp.
|
protected |
Definition at line 74 of file FireExtinguisherAffector.h.
|
protected |
effectiveness factor (1 means as effective as water, everything higher is more effective while anything lower is less effective)
Definition at line 77 of file FireExtinguisherAffector.h.
|
static |
Command objects.
Definition at line 70 of file FireExtinguisherAffector.h.
1.8.17