Tesla Graphics Engine Documentation (January 2012)
GeometryDebugger Class
TeslaTesla.UtilGeometryDebugger
Debugger for visualizing the various parts of a scene graph or specific geometry. Contains utilities for drawing normals, tangents, binormals, and bounding volumes.
Declaration Syntax
C#
public static class GeometryDebugger
Members
All Members Methods Properties



Icon Member Description
BasisScaleRatio
Gets or sets the scaling ratio for rendering the tangent basis lines.

DrawBoundingVolume(BoundingVolume, IRenderer)
Draws the bounding volume.

DrawBounds(Spatial, IRenderer)
Draws the spatial's bounding volumes, if visible to the renderer's currently active camera. If the spatial is a Node, the children of the spatial will be rendered if visible.

DrawBounds(Spatial, IRenderer, Boolean)
Draws the spatial's bounding volumes, if visible to the renderer's currently active camera. If the spatial is a Node and recurse is requested, the children of the spatial will be rendered if visible.

DrawNormals(Spatial, IRenderer)
Draws the vertex normals of the provided spatial. If the spatial is a Node, the child meshes of the spatial will have their vertex normals drawn, if the mesh is visible.

DrawNormals(Spatial, IRenderer, Boolean)
Draws the vertex normals of the provided spatial. If the spatial is a Node and recurse is true, the child meshes of the spatial will have their vertex normals drawn, if the mesh is visible.

DrawTangentBasis(Spatial, IRenderer)
Draws the tangent basis (Normal, Tangent, Binormal) of the provided spatial. If the spatial is a Node, the child meshes of the spatial will have their tangent basis drawn, if the mesh is visible.

DrawTangentBasis(Spatial, IRenderer, Boolean)
Draws the tangent basis (Normal, Tangent, Binormal) of the provided spatial. If the spatial is a Node and recurse is true, the child meshes of the spatial will have their tangent basis drawn, if the mesh is visible.

Inheritance Hierarchy
Object
GeometryDebugger

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)