|
GLuint | blendFunc = GL_ONE |
|
Definition at line 23 of file ParticleConf.h.
virtual chag::float3 ParticleConf::accelerate |
( |
chag::float3 |
velocity | ) |
|
|
pure virtual |
Accelerates the Particle given it's current velocity. Is called each particle update.
- Parameters
-
velocity | The current velocity of the Particle. |
virtual float ParticleConf::calcLifetime |
( |
| ) |
|
|
pure virtual |
Calculates the Lifetime for the Particle. Is called on particle reset.
virtual chag::float3 ParticleConf::calcParticleScale |
( |
| ) |
|
|
pure virtual |
virtual chag::float3 ParticleConf::initialPosition |
( |
| ) |
|
|
pure virtual |
The initial position of a Particle. Is called on particle reset.
- Parameters
-
virtual chag::float3 ParticleConf::initialVelocity |
( |
| ) |
|
|
pure virtual |
The initial velocity for the Particle. Is called on particle reset.
virtual bool ParticleConf::loop |
( |
float |
dt | ) |
|
|
pure virtual |
Continue to loop the ParticleGenerator. If false no new particle will be spawned when a Particle dies.
- Parameters
-
The | time since in seconds since last update call. |
The documentation for this class was generated from the following file: