C# Class Drought.Graphics.ParticleSpemitter

显示文件 Open project: kiniry-teaching/UCD

Public Methods

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

Method Details

ParticleSpemitter() public method

public ParticleSpemitter ( Vector3 position, Vector3 initialVelocity, Vector3 gravity, Vector4 colour, int numberOfParticles, float chaosity, float lifeTime ) : System
position Vector3
initialVelocity Vector3
gravity Vector3
colour Vector4
numberOfParticles int
chaosity float
lifeTime float
return System

addParticle() public method

public addParticle ( ) : void
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 ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void