deParticleEmitterParameter Class Reference

Particle Emitter Parameter. More...

#include <deParticleEmitterParameter.h>

List of all members.

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.
decCurveBezierGetCurveValue ()
 Retrieves the cast value curve.
const decCurveBezierGetCurveValue () const
decCurveBezierGetCurveSpread ()
 Retrieves the cast value spread curve.
const decCurveBezierGetCurveSpread () const
decCurveBezierGetCurveProgress ()
 Retrieves the progress curve.
const decCurveBezierGetCurveProgress () const

Detailed Description

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.

Author:
Plüss Roland
Version:
1.0
Date:
2010

Constructor & Destructor Documentation

deParticleEmitterParameter::deParticleEmitterParameter (  )

Creates a new particle emitter parameter.

virtual deParticleEmitterParameter::~deParticleEmitterParameter (  ) [virtual]

Cleans up the particle emitter parameter.


Member Function Documentation

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.


The documentation for this class was generated from the following file: