C# Class WaveOculusDemoProject.Components.TrailsRenderer

Inheritance: Drawable3D
Mostra file Open project: WaveEngine/Samples

Private Properties

Property Type Description
BuildMesh void
DestroyMesh void
ProcessEndPoint void
ProcessStartPoint void
ProcessTrailPoint void
ProcessTrailPoint void

Public Methods

Method Description
Draw ( System.TimeSpan gameTime ) : void

Draw the trail mesh

Protected Methods

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

Draw debug lines

Initialize ( ) : void

Initializes the trail renderer

Private Methods

Method Description
BuildMesh ( ) : void

Build the mesh used to draw all trails

DestroyMesh ( ) : void

Destroy trail mesh

ProcessEndPoint ( TrailSetting trail ) : void

Process the end point of a trail

ProcessStartPoint ( TrailSetting trail ) : void

Process a start point of a trail

ProcessTrailPoint ( TrailSetting trail, System.Vector3 &start, System.Vector3 &end, float lerp ) : void

Process a trail point

ProcessTrailPoint ( TrailSetting trail, int pointId ) : void

Process a middle trail point

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Draw() public method

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

DrawDebugLines() protected method

Draw debug lines
protected DrawDebugLines ( ) : void
return void

Initialize() protected method

Initializes the trail renderer
protected Initialize ( ) : void
return void