25#include <OgreParticleAffector.h>
26#include <OgreVector3.h>
27#include <OgreVector2.h>
52 String
doGet(
const void* target)
const;
53 void doSet(
void* target,
const String& val);
60 String
doGet(
const void* target)
const;
61 void doSet(
void* target,
const String& val);
68 String
doGet(
const void* target)
const;
69 void doSet(
void* target,
const String& val);
76 String
doGet(
const void* target)
const;
77 void doSet(
void* target,
const String& val);
84 String
doGet(
const void* target)
const;
85 void doSet(
void* target,
const String& val);
Command object for intensity growth (see ParamCommand).
Command object for intensity (see ParamCommand).
Command object for maximum intensity (see ParamCommand).
Command object for middle point (see ParamCommand).
Command object for radius (see ParamCommand).
This class defines a ParticleAffector which deflects particles.
Real getRadius(void) const
Gets the radius for the interaction with the FireExtiniguisher affector.
Vector3 mMiddlePoint
sphere middle point
Vector2 originalDimensions
void setMaxIntensity(Real intensity)
Sets the maximum intensity.
bool updateIntensityRequired
String doGet(const void *target) const
Vector3 getMiddlePoint(void) const
Gets the sphere middle point.
Real mRadius
radius of the sphere
void doSet(void *target, const String &val)
static CmdMiddlePoint msMiddlePointCmd
Command objects.
String doGet(const void *target) const
String doGet(const void *target) const
Real getMaxIntensity(void) const
Gets the maximum intensity.
void setRadius(Real radius)
Sets the radius for the interaction with the FireExtiniguisher affector.
Real mIntensity
Intensity of the fire.
void setMiddlePoint(const Vector3 &pos)
Sets the sphere middle point.
ParticleSystem * getParticleSystem()
void setInstanceName(String iname)
Sets the instance name of the parent object for this particle system.
Vector3 getAbsoluteMiddlePoint(void) const
Real getIntensityGrowth(void) const
Gets the intensity growth rate.
void doSet(void *target, const String &val)
String doGet(const void *target) const
void doSet(void *target, const String &val)
void doSet(void *target, const String &val)
String objectInstanceName
The instance name of the parent object.
Real getIntensity(void) const
Gets the intensity.
Real reduceIntensity(Real amount)
void setIntensity(Real intensity)
Sets the intensity.
static CmdMaxIntensity msMaxIntensityCmd
static CmdRadius msRadiusCmd
void doSet(void *target, const String &val)
String doGet(const void *target) const
static CmdIntensityGrowth msIntensityGrowthCmd
void setIntensityGrowth(Real intensity)
Sets the intensity growth rate.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
static CmdIntensity msIntensityCmd
~ExtinguishableFireAffector()
Destructor.