Torque2D Reference
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ParticleSystem Class Reference

#include <ParticleSystem.h>

Classes

struct  ParticleNode
 Particle node. More...
 

Public Member Functions

 ParticleSystem ()
 
 ~ParticleSystem ()
 
ParticleNodecreateParticle (void)
 
void freeParticle (ParticleNode *pParticleNode)
 
U32 getActiveParticleCount (void) const
 
U32 getAllocatedParticleCount (void) const
 

Static Public Member Functions

static void Init (void)
 
static void destroy (void)
 

Static Public Attributes

static ParticleSystemInstance = NULL
 

Constructor & Destructor Documentation

◆ ParticleSystem()

◆ ~ParticleSystem()

Member Function Documentation

◆ createParticle()

ParticleSystem::ParticleNode * createParticle ( void  )

◆ destroy()

void destroy ( void  )
static

◆ freeParticle()

void freeParticle ( ParticleNode pParticleNode)

◆ getActiveParticleCount()

U32 getActiveParticleCount ( void  ) const
inline

◆ getAllocatedParticleCount()

U32 getAllocatedParticleCount ( void  ) const
inline

◆ Init()

void Init ( void  )
static

Member Data Documentation

◆ Instance

ParticleSystem * Instance = NULL
static

The documentation for this class was generated from the following files: