|
Pyrogenesis
13997
|
A terrible ad-hoc attempt at handling some particular variable calculation, which really needs to be cleaned up and generalised. More...
Public Member Functions | |
| CParticleVarExpr (const CStr &from, float mul, 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... | |
Private Attributes | |
| CStr | m_From |
| float | m_Mul |
| float | m_Max |
Additional Inherited Members |
A terrible ad-hoc attempt at handling some particular variable calculation, which really needs to be cleaned up and generalised.
Definition at line 176 of file ParticleEmitterType.cpp.
|
inline |
Definition at line 179 of file ParticleEmitterType.cpp.
|
inlinevirtual |
Implements IParticleVar.
Definition at line 184 of file ParticleEmitterType.cpp.
|
inlinevirtual |
Returns the maximum value that Evaluate might ever return, for computing bounds.
Implements IParticleVar.
Definition at line 194 of file ParticleEmitterType.cpp.
|
inlinevirtual |
Returns the minimum value that Evaluate might ever return, for computing bounds.
Implements IParticleVar.
Definition at line 189 of file ParticleEmitterType.cpp.
|
private |
Definition at line 200 of file ParticleEmitterType.cpp.
|
private |
Definition at line 202 of file ParticleEmitterType.cpp.
|
private |
Definition at line 201 of file ParticleEmitterType.cpp.
1.8.5