C# Class Indiefreaks.Xna.Rendering.Particles.ParticleSystemManager

Inheritance: IParticleSystemManager
Mostra file Open project: Indiefreaks/igf

Public Properties

Property Type Description
ElapsedSeconds float
Frustum BoundingFrustum

Public Methods

Method Description
ApplyPreferences ( ISystemPreferences preferences ) : void

Use to apply user quality and performance preferences to the resources managed by this object.

BeginFrameRendering ( ISceneState scenestate ) : void

Sets up the object prior to rendering.

Clear ( ) : void

Removes resources managed by this object. Commonly used while clearing the scene.

EndFrameRendering ( ) : void

Finalizes rendering.

FindParticleSystemByIndex ( int index ) : ParticleSystem
FindParticleSystemByName ( string name ) : ParticleSystem
GetParticleSystemIndex ( ParticleSystem particleSystem ) : int
ParticleSystemManager ( IManagerServiceProvider sceneInterface ) : System

Creates a new instance

Remove ( ParticleSystem particleSystem ) : void

Removes a given ParticleSystem instance from the ParticleSystems list

SubmitParticleSystem ( ParticleSystem particleSystem ) : void

Submits a new ParticleSystem instance to the current ParticleSystems list

Unload ( ) : void

Disposes any graphics resource used internally by this object, and removes scene resources managed by this object. Commonly used during Game.UnloadContent.

Method Details

ApplyPreferences() public method

Use to apply user quality and performance preferences to the resources managed by this object.
public ApplyPreferences ( ISystemPreferences preferences ) : void
preferences ISystemPreferences
return void

BeginFrameRendering() public method

Sets up the object prior to rendering.
public BeginFrameRendering ( ISceneState scenestate ) : void
scenestate ISceneState
return void

Clear() public method

Removes resources managed by this object. Commonly used while clearing the scene.
public Clear ( ) : void
return void

EndFrameRendering() public method

Finalizes rendering.
public EndFrameRendering ( ) : void
return void

FindParticleSystemByIndex() public method

public FindParticleSystemByIndex ( int index ) : ParticleSystem
index int
return ParticleSystem

FindParticleSystemByName() public method

public FindParticleSystemByName ( string name ) : ParticleSystem
name string
return ParticleSystem

GetParticleSystemIndex() public method

public GetParticleSystemIndex ( ParticleSystem particleSystem ) : int
particleSystem ParticleSystem
return int

ParticleSystemManager() public method

Creates a new instance
public ParticleSystemManager ( IManagerServiceProvider sceneInterface ) : System
sceneInterface IManagerServiceProvider
return System

Remove() public method

Removes a given ParticleSystem instance from the ParticleSystems list
public Remove ( ParticleSystem particleSystem ) : void
particleSystem ParticleSystem
return void

SubmitParticleSystem() public method

Submits a new ParticleSystem instance to the current ParticleSystems list
public SubmitParticleSystem ( ParticleSystem particleSystem ) : void
particleSystem ParticleSystem
return void

Unload() public method

Disposes any graphics resource used internally by this object, and removes scene resources managed by this object. Commonly used during Game.UnloadContent.
public Unload ( ) : void
return void

Property Details

ElapsedSeconds public_oe static_oe property

public static float ElapsedSeconds
return float

Frustum public_oe static_oe property

public static BoundingFrustum Frustum
return BoundingFrustum