torque Torque Game Engine Documentation
TGE Version 1.5.2

ParticleEngine Namespace Reference


Enumerations

enum  ParticleConsts {
  PC_COLOR_KEYS = 4,
  PC_SIZE_KEYS = 4
}

Functions

void init ()
 Initalize the particle engine.
void destroy ()
 Destroy the particle engine.
void setWindVelocity (const Point3F &vel)
 Sets the wind velocity for all particles.
Point3F getWindVelocity ()
 Returns the wind velocity.

Variables

Point3F windVelocity
 Global wind velocity for all particles.


Enumeration Type Documentation

Enumerator:
PC_COLOR_KEYS 
PC_SIZE_KEYS 


Function Documentation

void ParticleEngine::init (  ) 

Initalize the particle engine.

void ParticleEngine::destroy (  ) 

Destroy the particle engine.

void ParticleEngine::setWindVelocity ( const Point3F vel  )  [inline]

Sets the wind velocity for all particles.

Parameters:
vel Velocity

Point3F ParticleEngine::getWindVelocity (  )  [inline]

Returns the wind velocity.


Variable Documentation

Global wind velocity for all particles.




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen