C# Class SpaceRun.ParticleSystem

Inheritance: Entity
Mostra file Open project: zzorn/Spike3D Class Usage Examples

Public Properties

Property Type Description
maxNumberOfParticles int
trackedEntity Entity

Public Methods

Method Description
LogicUpdate ( GameTime time, float t ) : void
ParticleSystem ( ) : System
ParticleSystem ( Entity trackedEntity, List sprites, float spread, float size, int number, System.Boolean relativePosition, float lifetime ) : System
Render ( GraphicsDeviceManager graphics, Matrix cameraViewMatrix, Matrix cameraProjectionMatrix ) : void
addParticleSource ( ParticleSource source ) : void

Method Details

LogicUpdate() public method

public LogicUpdate ( GameTime time, float t ) : void
time Microsoft.Xna.Framework.GameTime
t float
return void

ParticleSystem() public method

public ParticleSystem ( ) : System
return System

ParticleSystem() public method

public ParticleSystem ( Entity trackedEntity, List sprites, float spread, float size, int number, System.Boolean relativePosition, float lifetime ) : System
trackedEntity Entity
sprites List
spread float
size float
number int
relativePosition System.Boolean
lifetime float
return System

Render() public method

public Render ( GraphicsDeviceManager graphics, Matrix cameraViewMatrix, Matrix cameraProjectionMatrix ) : void
graphics GraphicsDeviceManager
cameraViewMatrix Matrix
cameraProjectionMatrix Matrix
return void

addParticleSource() public method

public addParticleSource ( ParticleSource source ) : void
source ParticleSource
return void

Property Details

maxNumberOfParticles public_oe property

public int maxNumberOfParticles
return int

trackedEntity public_oe property

public Entity trackedEntity
return Entity