C# Class Fusion.Engine.Graphics.DebugLayer

Inheritance: Fusion.Engine.Common.GameModule
Afficher le fichier Open project: demiurghg/FusionEngine

Méthodes publiques

Méthode Description
DebugLayer ( Game game ) : System

Constructor

DrawBasis ( System.Matrix basis, float scale ) : void
DrawBox ( BoundingBox bbox, Color color ) : void
DrawBox ( BoundingBox bbox, System.Matrix transform, Color color ) : void
DrawFrustum ( BoundingFrustum frustum, Color color ) : void
DrawGrid ( int wireCount ) : void

DrawLine ( System.Vector2 p0, System.Vector2 p1, Color color ) : void

Draws line between p0 and p1

DrawLine ( System.Vector3 p0, System.Vector3 p1, Color color ) : void

Draws line between p0 and p1

DrawPoint ( System.Vector3 p, float size, Color color ) : void
DrawRing ( System.Matrix basis, float radius, Color color, float stretch = 1, int numSegments = 32 ) : void
DrawRing ( System.Vector3 origin, float radius, Color color, int numSegments = 32, float angle ) : void
DrawSphere ( System.Vector3 origin, float radius, Color color, int numSegments = 32 ) : void
DrawVector ( System.Vector3 origin, System.Vector3 dir, Color color, float scale = 1.0f ) : void
DrawWaypoint ( System.Vector3 p, float size, Color color ) : void
Initialize ( ) : void

Initialization

Render ( GameTime gameTime, StereoEye stereoEye, bool suppress ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Dispose

Method Details

DebugLayer() public méthode

Constructor
public DebugLayer ( Game game ) : System
game Game
Résultat System

Dispose() protected méthode

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

DrawBasis() public méthode

public DrawBasis ( System.Matrix basis, float scale ) : void
basis System.Matrix
scale float
Résultat void

DrawBox() public méthode

public DrawBox ( BoundingBox bbox, Color color ) : void
bbox BoundingBox
color Color
Résultat void

DrawBox() public méthode

public DrawBox ( BoundingBox bbox, System.Matrix transform, Color color ) : void
bbox BoundingBox
transform System.Matrix
color Color
Résultat void

DrawFrustum() public méthode

public DrawFrustum ( BoundingFrustum frustum, Color color ) : void
frustum BoundingFrustum
color Color
Résultat void

DrawGrid() public méthode

public DrawGrid ( int wireCount ) : void
wireCount int
Résultat void

DrawLine() public méthode

Draws line between p0 and p1
public DrawLine ( System.Vector2 p0, System.Vector2 p1, Color color ) : void
p0 System.Vector2
p1 System.Vector2
color Color
Résultat void

DrawLine() public méthode

Draws line between p0 and p1
public DrawLine ( System.Vector3 p0, System.Vector3 p1, Color color ) : void
p0 System.Vector3
p1 System.Vector3
color Color
Résultat void

DrawPoint() public méthode

public DrawPoint ( System.Vector3 p, float size, Color color ) : void
p System.Vector3
size float
color Color
Résultat void

DrawRing() public méthode

public DrawRing ( System.Matrix basis, float radius, Color color, float stretch = 1, int numSegments = 32 ) : void
basis System.Matrix
radius float
color Color
stretch float
numSegments int
Résultat void

DrawRing() public méthode

public DrawRing ( System.Vector3 origin, float radius, Color color, int numSegments = 32, float angle ) : void
origin System.Vector3
radius float
color Color
numSegments int
angle float
Résultat void

DrawSphere() public méthode

public DrawSphere ( System.Vector3 origin, float radius, Color color, int numSegments = 32 ) : void
origin System.Vector3
radius float
color Color
numSegments int
Résultat void

DrawVector() public méthode

public DrawVector ( System.Vector3 origin, System.Vector3 dir, Color color, float scale = 1.0f ) : void
origin System.Vector3
dir System.Vector3
color Color
scale float
Résultat void

DrawWaypoint() public méthode

public DrawWaypoint ( System.Vector3 p, float size, Color color ) : void
p System.Vector3
size float
color Color
Résultat void

Initialize() public méthode

Initialization
public Initialize ( ) : void
Résultat void

Render() public méthode

public Render ( GameTime gameTime, StereoEye stereoEye, bool suppress ) : void
gameTime Fusion.Engine.Common.GameTime
stereoEye StereoEye
suppress bool
Résultat void