iParticleSystem Struct Reference
Properties for particle system object. More...
Public Member Functions
|virtual void||Advance (csTicks time)=0|
|Advance the time of the particle system object by the given duration. |
|virtual csParticle *||GetParticle (size_t index)=0|
|Get a specific particle. |
|virtual csParticleAux *||GetParticleAux (size_t index)=0|
|Get the auxiliary data of a specific particle. |
|virtual size_t||GetParticleCount () const =0|
|Get number of particles currently in the system. |
|virtual csParticleBuffer *||LockForExternalControl (size_t maxParticles)=0|
|Lock the particles and take external control over them. |
Properties for particle system object.
Member Function Documentation
|virtual void iParticleSystem::Advance||(||csTicks||time||)||
Advance the time of the particle system object by the given duration.
This is useful to "fill" a particle system after its initial creation.
- Internally, the time is advanced in multiple steps of a smaller duration. This means that the run time needed to advance a particle system grows proportionally with the time to advance!
|virtual csParticle* iParticleSystem::GetParticle||(||size_t||index||)||
Get a specific particle.
|virtual csParticleAux* iParticleSystem::GetParticleAux||(||size_t||index||)||
Get the auxiliary data of a specific particle.
|virtual size_t iParticleSystem::GetParticleCount||(||)|| const
Get number of particles currently in the system.
|virtual csParticleBuffer* iParticleSystem::LockForExternalControl||(||size_t||maxParticles||)||
Lock the particles and take external control over them.
The particle system will no more use the emitters and effectors, so the particles have to be animated manually.
maxParticles Amount of particles for which memory is allocated in the returned particles buffer. (The actual number of provided particles must be set there; obviously it can't exceed maxParticles.)
The documentation for this struct was generated from the following file:
Generated for Crystal Space 2.1 by doxygen 1.6.1