C# Class Drought.Graphics.PlaneParticleEmitter

Exibir arquivo Open project: kiniry-teaching/UCD Class Usage Examples

Public Methods

Method Description
PlaneParticleEmitter ( int width, int height, Vector3 position, Vector3 initialVelocity, Vector3 gravity, Vector4 colour, int numberOfParticles, float lifeTime ) : System
addParticle ( ) : void
addParticle ( int numberOfNewParticles ) : void
initialize ( ) : void
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
render ( GraphicsDevice graphics, Matrix viewMatrix, Matrix projectionMatrix ) : void
update ( ) : void

Method Details

PlaneParticleEmitter() public method

public PlaneParticleEmitter ( int width, int height, Vector3 position, Vector3 initialVelocity, Vector3 gravity, Vector4 colour, int numberOfParticles, float lifeTime ) : System
width int
height int
position Vector3
initialVelocity Vector3
gravity Vector3
colour Vector4
numberOfParticles int
lifeTime float
return System

addParticle() public method

public addParticle ( ) : void
return void

addParticle() public method

public addParticle ( int numberOfNewParticles ) : void
numberOfNewParticles int
return void

initialize() public method

public initialize ( ) : void
return void

loadContent() public method

public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

render() public method

public render ( GraphicsDevice graphics, Matrix viewMatrix, Matrix projectionMatrix ) : void
graphics GraphicsDevice
viewMatrix Matrix
projectionMatrix Matrix
return void

update() public method

public update ( ) : void
return void