C# Class WaveOculusDemoProject.Components.StarfieldRenderer

Starfield renderer.
Inheritance: Drawable3D
显示文件 Open project: WaveEngine/Samples

Private Properties

Property Type Description
ColorFromLerp System.Color

Public Methods

Method Description
Draw ( System.TimeSpan gameTime ) : void

Draw the starfield mesh

Protected Methods

Method Description
DefaultValues ( ) : void
Dispose ( bool disposing ) : void

Dispose the starfield mesh

Initialize ( ) : void

Initialize the starfield mesh

Private Methods

Method Description
ColorFromLerp ( float lerp ) : System.Color

Get color from a lerp position.

Method Details

DefaultValues() protected method

protected DefaultValues ( ) : void
return void

Dispose() protected method

Dispose the starfield mesh
protected Dispose ( bool disposing ) : void
disposing bool Is disposing
return void

Draw() public method

Draw the starfield mesh
public Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The current game time
return void

Initialize() protected method

Initialize the starfield mesh
protected Initialize ( ) : void
return void