CrystalSpace

Public API Reference

iParticleEffector Struct Reference
[Mesh plugins]

Base interface for particle effector. More...

#include <imesh/particles.h>

Inheritance diagram for iParticleEffector:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual csPtr< iParticleEffectorClone () const =0
 Clone this effector.
virtual void EffectParticles (iParticleSystemBase *system, const csParticleBuffer &particleBuffer, float dt, float totalTime)=0
 Calculate effect on particles and update their velocities.

Detailed Description

Base interface for particle effector.

A particle effector is an object which affects the movement and lifetime of particles, such as simple forces (gravity),

Definition at line 350 of file particles.h.


Member Function Documentation

virtual csPtr<iParticleEffector> iParticleEffector::Clone (  )  const [pure virtual]

Clone this effector.

virtual void iParticleEffector::EffectParticles ( iParticleSystemBase system,
const csParticleBuffer particleBuffer,
float  dt,
float  totalTime 
) [pure virtual]

Calculate effect on particles and update their velocities.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.4.7