Properties for particle system object. More...
|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 aux-data for 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 aux-data for 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.
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 1.4.1 by doxygen 1.7.1