Pyrogenesis  trunk
Public Member Functions | Private Attributes | List of all members
CParticleVarCopy Class Reference

Particle variable that returns the same value as some other variable (assuming that variable was evaluated before this one). More...

Inheritance diagram for CParticleVarCopy:
Inheritance graph
[legend]
Collaboration diagram for CParticleVarCopy:
Collaboration graph
[legend]

Public Member Functions

 CParticleVarCopy (int from)
 
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

int m_From
 

Additional Inherited Members

Detailed Description

Particle variable that returns the same value as some other variable (assuming that variable was evaluated before this one).

Constructor & Destructor Documentation

CParticleVarCopy::CParticleVarCopy ( int  from)
inline

Member Function Documentation

virtual float CParticleVarCopy::Compute ( CParticleEmitterType type,
CParticleEmitter emitter 
)
inlinevirtual

Implements IParticleVar.

virtual float CParticleVarCopy::Max ( CParticleEmitterType type)
inlinevirtual

Returns the maximum value that Evaluate might ever return, for computing bounds.

Implements IParticleVar.

virtual float CParticleVarCopy::Min ( CParticleEmitterType type)
inlinevirtual

Returns the minimum value that Evaluate might ever return, for computing bounds.

Implements IParticleVar.

Member Data Documentation

int CParticleVarCopy::m_From
private

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