List of all members.
Public Member Functions |
| GParticle (GParticleEmitter *parent) |
| ~GParticle (void) |
bool | IsActive () |
int | Enable (float starttime) |
int | Disable () |
int | Initialize (float life, float fadeout, const GVec4f &direction, const GVec4f &start) |
float | GetStartTime () |
float | GetLifeTime () |
float | GetFadeoutTime () |
GParticleEmitter * | GetEmitter () |
GVec4f * | GetDirection () |
int | Update (double time, double dtime) |
| set the objects active state
|
virtual int | Draw (double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS) |
virtual int | DrawSprites (double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS) |
Static Public Member Functions |
static bool | BackToFront (const GParticle *a, const GParticle *b) |
static bool | FrontToBack (const GParticle *a, const GParticle *b) |
Protected Attributes |
bool | isActive |
float | startTime |
float | lifeTime |
float | fadeOutTime |
GVec4f | startPosition |
GVec4f | direction |
GMatrix16 | worldmatrix |
GParticleEmitter * | owner |
Constructor & Destructor Documentation
GParticle::~GParticle |
( |
void |
|
) |
|
Member Function Documentation
int GParticle::Disable |
( |
|
) |
|
int GParticle::Draw |
( |
double |
time, |
|
|
double |
dtime, |
|
|
GMatrix16 * |
viewmatrix, |
|
|
GMatrix16 * |
worldmatrix, |
|
|
int |
FLAGS | |
|
) |
| | [virtual] |
int GParticle::DrawSprites |
( |
double |
time, |
|
|
double |
dtime, |
|
|
GMatrix16 * |
viewmatrix, |
|
|
GMatrix16 * |
worldmatrix, |
|
|
int |
FLAGS | |
|
) |
| | [virtual] |
int GParticle::Enable |
( |
float |
starttime |
) |
|
GVec4f * GParticle::GetDirection |
( |
|
) |
|
float GParticle::GetFadeoutTime |
( |
|
) |
|
float GParticle::GetLifeTime |
( |
|
) |
|
float GParticle::GetStartTime |
( |
|
) |
|
int GParticle::Initialize |
( |
float |
life, |
|
|
float |
fadeout, |
|
|
const GVec4f & |
direction, |
|
|
const GVec4f & |
start | |
|
) |
| | |
bool GParticle::IsActive |
( |
|
) |
|
int GParticle::Update |
( |
double |
time, |
|
|
double |
dtime | |
|
) |
| | [virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: