Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
IParticleEffector Class Referenceabstract

Interface for particle effectors, which get evaluated every frame to update particles. More...

Inheritance diagram for IParticleEffector:

Public Member Functions

 IParticleEffector ()
 
virtual ~IParticleEffector ()
 
virtual void Evaluate (std::vector< SParticle > &particles, float dt)=0
 Updates all particles. More...
 
virtual CVector3D Max ()=0
 Returns maximum acceleration caused by this effector. More...
 

Detailed Description

Interface for particle effectors, which get evaluated every frame to update particles.

Constructor & Destructor Documentation

◆ IParticleEffector()

IParticleEffector::IParticleEffector ( )
inline

◆ ~IParticleEffector()

virtual IParticleEffector::~IParticleEffector ( )
inlinevirtual

Member Function Documentation

◆ Evaluate()

virtual void IParticleEffector::Evaluate ( std::vector< SParticle > &  particles,
float  dt 
)
pure virtual

Updates all particles.

Implemented in CParticleEffectorForce.

◆ Max()

virtual CVector3D IParticleEffector::Max ( )
pure virtual

Returns maximum acceleration caused by this effector.

Implemented in CParticleEffectorForce.


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