NWengine 0.9
|
Structure that holds the properties of a particle. More...
#include <ParticleSystem.h>
Public Attributes | |
fVec2 | absoluteStartPosition = fVec2(0.0f, 0.0f) |
float | lifetime = 1.0f |
int | lifedistance = 1000 |
fVec2 | sPosition = fVec2(0.0f, 0.0f) |
BezierInterpolator | directionX = BezierInterpolator(0.0f, 0.0f, 0.0f) |
BezierInterpolator | directionY = BezierInterpolator(1.0f, 1.0f, 0.0f) |
BezierInterpolator | scaleX = BezierInterpolator(1.0f, 1.0f, 0.0f) |
BezierInterpolator | scaleY = BezierInterpolator(1.0f, 1.0f, 0.0f) |
BezierInterpolator | colorX = BezierInterpolator(1.0f, 1.0f, 0.0f) |
BezierInterpolator | colorY = BezierInterpolator(1.0f, 1.0f, 0.0f) |
BezierInterpolator | colorZ = BezierInterpolator(1.0f, 1.0f, 0.0f) |
BezierInterpolator | colorA = BezierInterpolator(1.0f, 1.0f, 0.0f) |
BezierInterpolator | speed = BezierInterpolator(100.0f, 0.0f, 0.0f) |
Structure that holds the properties of a particle.
Read only; buffer of position used to pass beginning absolute position to particle
BezierInterpolator ParticleProperties::colorA = BezierInterpolator(1.0f, 1.0f, 0.0f) |
The alpha color of the particle
BezierInterpolator ParticleProperties::colorX = BezierInterpolator(1.0f, 1.0f, 0.0f) |
The X color of the particle
BezierInterpolator ParticleProperties::colorY = BezierInterpolator(1.0f, 1.0f, 0.0f) |
The Y color of the particle
BezierInterpolator ParticleProperties::colorZ = BezierInterpolator(1.0f, 1.0f, 0.0f) |
The Z color of the particle
BezierInterpolator ParticleProperties::directionX = BezierInterpolator(0.0f, 0.0f, 0.0f) |
The X direction of the particle
BezierInterpolator ParticleProperties::directionY = BezierInterpolator(1.0f, 1.0f, 0.0f) |
The Y direction of the particle
int ParticleProperties::lifedistance = 1000 |
The distance the particle can travel in pixels
float ParticleProperties::lifetime = 1.0f |
The lifetime of the particle
BezierInterpolator ParticleProperties::scaleX = BezierInterpolator(1.0f, 1.0f, 0.0f) |
The X scale of the particle
BezierInterpolator ParticleProperties::scaleY = BezierInterpolator(1.0f, 1.0f, 0.0f) |
The Y scale of the particle
BezierInterpolator ParticleProperties::speed = BezierInterpolator(100.0f, 0.0f, 0.0f) |
The speed of the particle
The starting position of the particle relative to the particle system position