Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
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:
Collaboration diagram for CParticleVarCopy:

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...
 
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

int m_From
 

Additional Inherited Members

virtual float Compute (CParticleEmitterType &type, CParticleEmitter &emitter)=0
 

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

Member Function Documentation

◆ Compute()

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

Implements IParticleVar.

◆ Max()

virtual float CParticleVarCopy::Max ( CParticleEmitterType type)
inlinevirtual

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

Implements IParticleVar.

◆ Min()

virtual float CParticleVarCopy::Min ( CParticleEmitterType type)
inlinevirtual

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

Implements IParticleVar.

Member Data Documentation

◆ m_From

int CParticleVarCopy::m_From
private

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