C# Class CapgeminiSurface.ParticleSystem

Datei anzeigen Open project: smalice/SurfaceWPFApp Class Usage Examples

Public Methods

Method Description
ApplyMaterialToBrush ( System.Windows.Shapes.Ellipse ellipse ) : void
ParticleSystem ( int maxCount, Color color ) : System
SpawnParticle ( Point3D position, double speed, double size, double duration, Particle particle ) : void
Update ( double elapsed ) : void

Private Methods

Method Description
Update3DGeometry ( ) : void

Method Details

ApplyMaterialToBrush() public method

public ApplyMaterialToBrush ( System.Windows.Shapes.Ellipse ellipse ) : void
ellipse System.Windows.Shapes.Ellipse
return void

ParticleSystem() public method

public ParticleSystem ( int maxCount, Color color ) : System
maxCount int
color Color
return System

SpawnParticle() public method

public SpawnParticle ( Point3D position, double speed, double size, double duration, Particle particle ) : void
position Point3D
speed double
size double
duration double
particle Particle
return void

Update() public method

public Update ( double elapsed ) : void
elapsed double
return void