CustomParticleDisplay Class Reference
 
 
 
CustomParticleDisplay Class Reference

#include <particle.h>

Inheritance diagram for CustomParticleDisplay:
MaxHeapOperators

Class Description

See also:
Class ParticleSys, Class GraphicsWindow.

Description:
This class allow a plug-in particle system to provide its own custom drawing routine. Implement the DrawParticle() method of this class and register this callback with the SetCustomDraw() method of class ParticleSys.

Public Member Functions

virtual BOOL  DrawParticle (GraphicsWindow *gw, ParticleSys &parts, int i)=0

Member Function Documentation

virtual BOOL DrawParticle ( GraphicsWindow gw,
ParticleSys parts,
int  i 
) [pure virtual]
Remarks:
Draws the 'i-th' particle of the specified particle system.
Parameters:
GraphicsWindow *gw

The window into which to draw the particle.

ParticleSys &parts

The particle system whose 'i-th' particle is to be drawn.

int i

The index of the particle to draw.