RigsofRods
Soft-body Physics Simulation
|
This class defines a ParticleAffector which deflects particles. More...
#include <ExtinguishableFireAffector.h>
Data Structures | |
class | CmdIntensity |
Command object for intensity (see ParamCommand). More... | |
class | CmdIntensityGrowth |
Command object for intensity growth (see ParamCommand). More... | |
class | CmdMaxIntensity |
Command object for maximum intensity (see ParamCommand). More... | |
class | CmdMiddlePoint |
Command object for middle point (see ParamCommand). More... | |
class | CmdRadius |
Command object for radius (see ParamCommand). More... | |
Public Member Functions | |
ExtinguishableFireAffector (ParticleSystem *psys) | |
Default constructor. More... | |
~ExtinguishableFireAffector () | |
Destructor. More... | |
void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed) |
See ParticleAffector. More... | |
void | setMiddlePoint (const Vector3 &pos) |
Sets the sphere middle point. More... | |
Vector3 | getMiddlePoint (void) const |
Gets the sphere middle point. More... | |
void | setIntensity (Real intensity) |
Sets the intensity. More... | |
Real | getIntensity (void) const |
Gets the intensity. More... | |
void | setMaxIntensity (Real intensity) |
Sets the maximum intensity. More... | |
Real | getMaxIntensity (void) const |
Gets the maximum intensity. More... | |
void | setIntensityGrowth (Real intensity) |
Sets the intensity growth rate. More... | |
Real | getIntensityGrowth (void) const |
Gets the intensity growth rate. More... | |
void | setRadius (Real radius) |
Sets the radius for the interaction with the FireExtiniguisher affector. More... | |
Real | getRadius (void) const |
Gets the radius for the interaction with the FireExtiniguisher affector. More... | |
bool | isTemplate () const |
Vector3 | getAbsoluteMiddlePoint (void) const |
Real | reduceIntensity (Real amount) |
ParticleSystem * | getParticleSystem () |
void | setInstanceName (String iname) |
Sets the instance name of the parent object for this particle system. More... | |
String | getInstanceName () |
Static Public Attributes | |
static CmdMiddlePoint | msMiddlePointCmd |
Command objects. More... | |
static CmdIntensity | msIntensityCmd |
static CmdMaxIntensity | msMaxIntensityCmd |
static CmdIntensityGrowth | msIntensityGrowthCmd |
static CmdRadius | msRadiusCmd |
Protected Attributes | |
Vector3 | mMiddlePoint |
sphere middle point More... | |
Real | mRadius |
radius of the sphere More... | |
Real | mIntensity |
Intensity of the fire. More... | |
ParticleSystem * | mPsys |
Real | originalIntensity |
bool | updateIntensityRequired |
Vector2 | originalDimensions |
bool | firstFrame |
Real | mIntensityGrowth |
Real | mMaxIntensity |
String | objectInstanceName |
The instance name of the parent object. More... | |
This class defines a ParticleAffector which deflects particles.
Definition at line 45 of file ExtinguishableFireAffector.h.