#include <particle.h>
Public Member Functions |
|
DllExport void | Render (GraphicsWindow *gw, MarkerType type=POINT_MRKR) |
DllExport BOOL | HitTest (GraphicsWindow *gw, HitRegion *hr, int abortOnHit=FALSE, MarkerType type=POINT_MRKR) |
DllExport Box3 | BoundBox (Matrix3 *tm=NULL) |
DllExport void | FreeAll () |
DllExport void | SetCount (int c, DWORD flags) |
int | Count () |
Point3 & | operator[] (int i) |
BOOL | Alive (int i) |
void | SetCustomDraw (CustomParticleDisplay *d) |
Public Attributes |
|
Tab< Point3 > | points |
Tab< Point3 > | vels |
Tab< TimeValue > | ages |
Tab< float > | radius |
Tab< float > | tension |
float | size |
DllExport void Render | ( | GraphicsWindow * | gw, |
MarkerType | type =
POINT_MRKR |
||
) |
DllExport BOOL HitTest | ( | GraphicsWindow * | gw, |
HitRegion * | hr, | ||
int | abortOnHit =
FALSE , |
||
MarkerType | type =
POINT_MRKR |
||
) |
DllExport void FreeAll | ( | ) |
DllExport void SetCount | ( | int | c, |
DWORD | flags | ||
) |
int Count | ( | ) | [inline] |
Point3& operator[] | ( | int | i | ) | [inline] |
{return points[i];}
BOOL Alive | ( | int | i | ) | [inline] |
{return ages[i]>=0;}
void SetCustomDraw | ( | CustomParticleDisplay * | d | ) | [inline] |
{draw=d;}