Cafu Engine
ParticleMST Struct Reference

This structure describes a single particle. More...

#include "ParticleEngineMS.hpp"

Public Attributes

float Origin [3]
 Origin of the particle in Cafu world coordinates. More...
 
float Velocity [3]
 Velocity vector of the particle. More...
 
float Age
 Age of the particle, in seconds. More...
 
unsigned char Color [4]
 ?? REMOVE (MatSys respects ambient light color already) ?? The RGBA color with which this particles texture is modulated. More...
 
float Radius
 Billboard radius in world coords. More...
 
unsigned char Rotation
 Rotation angle of the billboard in the "screen plane". A value of 256 corresponds to 360 degrees. More...
 
float StretchY
 Length of the Y-axis relative to the X-axis, e.g. for sparks, flashes etc. More...
 
ArrayT
< MatSys::RenderMaterialT * > * 
AllRMs
 The list of all render materials possibly used with this particle. More...
 
MatSys::RenderMaterialTRenderMat
 The particles RenderMaterial ID. More...
 
ParticleMoveFunctionMST MoveFunction
 Pointer to the function that moves this particle through time. More...
 
float AuxData [8]
 Auxiliary particle data. More...
 

Detailed Description

This structure describes a single particle.

Member Data Documentation

float ParticleMST::Age

Age of the particle, in seconds.

ArrayT<MatSys::RenderMaterialT*>* ParticleMST::AllRMs

The list of all render materials possibly used with this particle.

float ParticleMST::AuxData[8]

Auxiliary particle data.

unsigned char ParticleMST::Color[4]

?? REMOVE (MatSys respects ambient light color already) ?? The RGBA color with which this particles texture is modulated.

ParticleMoveFunctionMST ParticleMST::MoveFunction

Pointer to the function that moves this particle through time.

float ParticleMST::Origin[3]

Origin of the particle in Cafu world coordinates.

float ParticleMST::Radius

Billboard radius in world coords.

MatSys::RenderMaterialT* ParticleMST::RenderMat

The particles RenderMaterial ID.

unsigned char ParticleMST::Rotation

Rotation angle of the billboard in the "screen plane". A value of 256 corresponds to 360 degrees.

float ParticleMST::StretchY

Length of the Y-axis relative to the X-axis, e.g. for sparks, flashes etc.

float ParticleMST::Velocity[3]

Velocity vector of the particle.


The documentation for this struct was generated from the following file: