C# Class WaveOculusDemoProject.Components.TrailsRenderer

Inheritance: Drawable3D
Afficher le fichier Open project: WaveEngine/Samples

Private Properties

Свойство Type Description
BuildMesh void
DestroyMesh void
ProcessEndPoint void
ProcessStartPoint void
ProcessTrailPoint void
ProcessTrailPoint void

Méthodes publiques

Méthode Description
Draw ( System.TimeSpan gameTime ) : void

Draw the trail mesh

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
DrawDebugLines ( ) : void

Draw debug lines

Initialize ( ) : void

Initializes the trail renderer

Private Methods

Méthode 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 méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Draw() public méthode

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

DrawDebugLines() protected méthode

Draw debug lines
protected DrawDebugLines ( ) : void
Résultat void

Initialize() protected méthode

Initializes the trail renderer
protected Initialize ( ) : void
Résultat void