C# Class NewTOAPIA.Modeling.Particles.ParticleSystem

Inheritance: IRenderable
Show file Open project: Wiladams/NewTOAPIA

Protected Properties

Property Type Description
fHalfStep System.Single
fNumParticles int
fSixthStep System.Single
fStep System.Single

Public Methods

Method Description
KillSystem ( ) : void
ParticleSystem ( int numParticles, System.Single step ) : NewTOAPIA.Drawing
Render ( GraphicsInterface gi ) : void
SetStep ( System.Single step ) : void
Update ( System.Single fTime ) : void

Protected Methods

Method Description
Acceleration ( int i, System.Single fTime, float3 position, float3 velocity ) : float3
InitializeParticle ( int index ) : void

Method Details

Acceleration() abstract protected method

abstract protected Acceleration ( int i, System.Single fTime, float3 position, float3 velocity ) : float3
i int
fTime System.Single
position NewTOAPIA.GL.float3
velocity NewTOAPIA.GL.float3
return NewTOAPIA.GL.float3

InitializeParticle() abstract protected method

abstract protected InitializeParticle ( int index ) : void
index int
return void

KillSystem() public method

public KillSystem ( ) : void
return void

ParticleSystem() public method

public ParticleSystem ( int numParticles, System.Single step ) : NewTOAPIA.Drawing
numParticles int
step System.Single
return NewTOAPIA.Drawing

Render() abstract public method

abstract public Render ( GraphicsInterface gi ) : void
gi NewTOAPIA.GL.GraphicsInterface
return void

SetStep() public method

public SetStep ( System.Single step ) : void
step System.Single
return void

Update() public method

public Update ( System.Single fTime ) : void
fTime System.Single
return void

Property Details

fHalfStep protected property

protected System.Single fHalfStep
return System.Single

fNumParticles protected property

protected int fNumParticles
return int

fSixthStep protected property

protected System.Single fSixthStep
return System.Single

fStep protected property

protected System.Single fStep
return System.Single