|
Effect Manager
C4Particles.h
struct Particle
The Particle structure contains state information about a particle.
Definition
struct Particle
Data Members
Particle *prevParticle; |
A pointer to the previous particle in the system. This is nullptr for the first particle.
|
Particle *nextParticle; |
A pointer to the next particle in the system. This is nullptr for the last particle.
|
long emitTime; |
The time remaining before the particle is emitted.
|
long lifeTime; |
The time remaining (once the particle is emitted) before the particle dies.
|
float radius; |
The radius of the particle.
|
ColorRGBA color; |
The color and transparency of the particle.
|
UnsignedFixed orientation; |
The orientation of the particle as an unsigned 8.24-bit fixed-point angle. The top 8 bits divide the circle into 256 angles of 360/256 degrees.
|
Point3D position; |
The world-space position of the particle.
|
Vector3D velocity; |
The world-space velocity of the particle.
|
|