Class CustomParticleDisplay

3DS Max Plug-In SDK

Class CustomParticleDisplay

See Also: Class ParticleSys, Class GraphicsWindow.

class CustomParticleDisplay

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.

Methods:

Prototype:

virtual void DrawParticle(GraphicsWindow *gw,

ParticleSys &parts, int i)=0;

Remarks:

Implemented by the Plug-In.

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.