C# Class TechfairKinect.Components.Particles.GdiParticleComponentRenderer

Inheritance: ParticleComponentRenderer
Datei anzeigen Open project: techx/old-techfair-kinect-booth

Protected Properties

Property Type Description
GdiGraphicsBase GdiGraphicsBase
ParticleComponent ParticleComponent

Public Methods

Method Description
GdiParticleComponentRenderer ( ) : System
Render ( double interpolation ) : void
ToScaledRectangleF ( System.Drawing screenBounds, Vector3D position, double radius ) : RectangleF

Private Methods

Method Description
CalculateColor ( Vector3D position, double luminosity = 1.0 ) : Color
ColorFromHSV ( double hue, double saturation, double luminosity ) : Color
RenderParticle ( System.Drawing graphics, System.Drawing screenBounds, System.Drawing brush, Vector3D position, double radius ) : void
RenderParticles ( System.Drawing graphics, IEnumerable particles, System.Drawing screenBounds ) : void

Method Details

GdiParticleComponentRenderer() public method

public GdiParticleComponentRenderer ( ) : System
return System

Render() public method

public Render ( double interpolation ) : void
interpolation double
return void

ToScaledRectangleF() public method

public ToScaledRectangleF ( System.Drawing screenBounds, Vector3D position, double radius ) : RectangleF
screenBounds System.Drawing
position Vector3D
radius double
return System.Drawing.RectangleF

Property Details

GdiGraphicsBase protected_oe property

protected GdiGraphicsBase GdiGraphicsBase
return GdiGraphicsBase

ParticleComponent protected_oe property

protected ParticleComponent,TechfairKinect.Components.Particles ParticleComponent
return ParticleComponent