C# Class WaveEngine.Components.Graphics3D.ParticleSystemRenderer3D

Renders a particle system on the screen.
Inheritance: Drawable3D
显示文件 Open project: WaveEngine/Components

Public Methods

Method Description
Draw ( System.TimeSpan gameTime ) : void

Draws the particle system.

ParticleSystemRenderer3D ( ) : System

Initializes a new instance of the ParticleSystemRenderer3D class.

ParticleSystemRenderer3D ( string name ) : System

Initializes a new instance of the ParticleSystemRenderer3D class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Initialize ( ) : void

Performs further custom initialization for this instance.

ResolveDependencies ( ) : void

Resolve the dependencies

Private Methods

Method Description
CalculateLocalWorld ( Particle &p ) : System.Matrix

Calculates the local world.

LoadParticleSystem ( ) : void

Set the current settings to the particle system attached

ResetParticle ( Particle &p ) : void

Method Details

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

Draw() public method

Draws the particle system.
public Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The elapsed game time.
return void

Initialize() protected method

Performs further custom initialization for this instance.
protected Initialize ( ) : void
return void

ParticleSystemRenderer3D() public method

Initializes a new instance of the ParticleSystemRenderer3D class.
public ParticleSystemRenderer3D ( ) : System
return System

ParticleSystemRenderer3D() public method

Initializes a new instance of the ParticleSystemRenderer3D class.
public ParticleSystemRenderer3D ( string name ) : System
name string Name of this instance.
return System

ResolveDependencies() protected method

Resolve the dependencies
protected ResolveDependencies ( ) : void
return void