Particle Emitter Parameter. More...
#include <deParticleEmitterParameter.h>
Public Member Functions | |
Constructors and Destructors | |
| deParticleEmitterParameter () | |
| Creates a new particle emitter parameter. | |
| virtual | ~deParticleEmitterParameter () |
| Cleans up the particle emitter parameter. | |
Management | |
| float | GetValue () const |
| Retrieves the cast value. | |
| void | SetValue (float value) |
| Sets the cast value. | |
| float | GetSpread () const |
| Retrieves the cast value spread. | |
| void | SetSpread (float spread) |
| Sets the cast value spread. | |
| int | GetControllerValue () const |
| Retrieves the curve controller for the cast value. | |
| void | SetControllerValue (int controller) |
| Sets the curve controller for the cast value. | |
| int | GetControllerSpread () const |
| Retrieves the curve controller for the cast value spread. | |
| void | SetControllerSpread (int controller) |
| Sets the curve controller for the cast value spread. | |
| decCurveBezier & | GetCurveValue () |
| Retrieves the cast value curve. | |
| const decCurveBezier & | GetCurveValue () const |
| decCurveBezier & | GetCurveSpread () |
| Retrieves the cast value spread curve. | |
| const decCurveBezier & | GetCurveSpread () const |
| decCurveBezier & | GetCurveProgress () |
| Retrieves the progress curve. | |
| const decCurveBezier & | GetCurveProgress () const |
Particle Emitter Parameter.
Defines an emitter parameter. The cast value is picked randomly from a range specified by value and spread. Spread indicates the total amount of spread around the value. The spread therefore gives the distance from the smallest possible value to the highest possible value. Hence the random value can be spread-half above or below value at most.
| deParticleEmitterParameter::deParticleEmitterParameter | ( | ) |
Creates a new particle emitter parameter.
| virtual deParticleEmitterParameter::~deParticleEmitterParameter | ( | ) | [virtual] |
Cleans up the particle emitter parameter.
| int deParticleEmitterParameter::GetControllerSpread | ( | ) | const [inline] |
Retrieves the curve controller for the cast value spread.
| int deParticleEmitterParameter::GetControllerValue | ( | ) | const [inline] |
Retrieves the curve controller for the cast value.
| decCurveBezier& deParticleEmitterParameter::GetCurveProgress | ( | ) | [inline] |
Retrieves the progress curve.
| const decCurveBezier& deParticleEmitterParameter::GetCurveProgress | ( | ) | const [inline] |
| decCurveBezier& deParticleEmitterParameter::GetCurveSpread | ( | ) | [inline] |
Retrieves the cast value spread curve.
| const decCurveBezier& deParticleEmitterParameter::GetCurveSpread | ( | ) | const [inline] |
| const decCurveBezier& deParticleEmitterParameter::GetCurveValue | ( | ) | const [inline] |
| decCurveBezier& deParticleEmitterParameter::GetCurveValue | ( | ) | [inline] |
Retrieves the cast value curve.
| float deParticleEmitterParameter::GetSpread | ( | ) | const [inline] |
Retrieves the cast value spread.
| float deParticleEmitterParameter::GetValue | ( | ) | const [inline] |
Retrieves the cast value.
| void deParticleEmitterParameter::SetControllerSpread | ( | int | controller ) |
Sets the curve controller for the cast value spread.
| void deParticleEmitterParameter::SetControllerValue | ( | int | controller ) |
Sets the curve controller for the cast value.
| void deParticleEmitterParameter::SetSpread | ( | float | spread ) |
Sets the cast value spread.
| void deParticleEmitterParameter::SetValue | ( | float | value ) |
Sets the cast value.
1.7.2