Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Particle variable that returns a uniformly-distributed random value. More...
Public Member Functions | |
CParticleVarUniform (float min, float max) | |
virtual float | Compute (CParticleEmitterType &type, CParticleEmitter &emitter) |
virtual float | Min (CParticleEmitterType &type) |
Returns the minimum value that Evaluate might ever return, for computing bounds. More... | |
virtual float | Max (CParticleEmitterType &type) |
Returns the maximum value that Evaluate might ever return, for computing bounds. More... | |
Public Member Functions inherited from IParticleVar | |
IParticleVar () | |
virtual | ~IParticleVar () |
float | Evaluate (CParticleEmitter &emitter) |
Computes and returns a new value. More... | |
float | LastValue () |
Returns the last value that Evaluate returned. More... | |
virtual float | Min (CParticleEmitterType &type)=0 |
Returns the minimum value that Evaluate might ever return, for computing bounds. More... | |
virtual float | Max (CParticleEmitterType &type)=0 |
Returns the maximum value that Evaluate might ever return, for computing bounds. More... | |
Private Attributes | |
float | m_Min |
float | m_Max |
Additional Inherited Members | |
virtual float | Compute (CParticleEmitterType &type, CParticleEmitter &emitter)=0 |
Particle variable that returns a uniformly-distributed random value.
|
inline |
|
inlinevirtual |
Implements IParticleVar.
|
inlinevirtual |
Returns the maximum value that Evaluate might ever return, for computing bounds.
Implements IParticleVar.
|
inlinevirtual |
Returns the minimum value that Evaluate might ever return, for computing bounds.
Implements IParticleVar.
|
private |
|
private |