#include <pgeParticle.h>
Data Fields | |
pgeRect | spriteRect |
pgeTexture * | spriteTexture |
int | spriteBlendMode |
int | nEmission |
float | fLifetime |
float | fParticleLifeMin |
float | fParticleLifeMax |
float | fDirection |
float | fSpread |
int | bRelative |
float | fSpeedMin |
float | fSpeedMax |
float | fGravityMin |
float | fGravityMax |
float | fRadialAccelMin |
float | fRadialAccelMax |
float | fTangentialAccelMin |
float | fTangentialAccelMax |
float | fSizeStart |
float | fSizeEnd |
float | fSizeVar |
float | fSpinStart |
float | fSpinEnd |
float | fSpinVar |
unsigned int | colColorStart |
unsigned int | colColorEnd |
float | fColorVar |
float | fAlphaVar |
pgeRect describing the region on the texture to be displayed
texture for particles
blend mode
particles per sec (0..MAX_PARTICLES,1)
lifetime of the system float(0..100,0.1)
min. lifetime per particle (0..5,0.01)
max. lifetime per particle (0..5,0.01)
part. movement direction (0..2*PI,0.1)
part. movement spread (0..2*PI,0.1)
part. relative movement (0..1,1)
min. speed (-300..300,0.1)
max. speed (-300..300,0.1)
min. gravity (-100..100,0.1)
max. gravity (-100..100,0.1)
min. rad. accel (-5..5,0.01)
max. rad. accel (-5..5,0.01)
min. tangential accel (-100..100,0.1)
max. tangential accel (-100..100,0.1)
part. size at the beginning (0.01..2,0.01)
part. size at the end (0.01..2,0.01)
variance in part. size (0..1,0.01)
part. spin at the beginning (-50,50,1)
part. spin at the end (-50,50,1)
part. spin variance (0..1,0.01)
unsigned int pgeParticleSystemInfo::colColorStart |
rgb color at the beginning 4xfloat(0..1,.01)
unsigned int pgeParticleSystemInfo::colColorEnd |
rgb color at the end 4xfloat(0..1,.01)
variance float(0..1,0.01)
variance float(0..1,0.01)