Click or drag to resize
DigitalRuneDebugRenderer.DrawViewVolume Method (ViewVolume, Pose, Color, Boolean, Boolean)
Draws a view volume (viewing frustum).

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void DrawViewVolume(
	ViewVolume viewVolume,
	Pose pose,
	Color color,
	bool drawWireFrame,
	bool drawOverScene
)

Parameters

viewVolume
Type: DigitalRune.Geometry.Shapes.ViewVolume
The view volume.
pose
Type: DigitalRune.Geometry.Pose
The pose.
color
Type: Color
The color.
drawWireFrame
Type: System.Boolean
If set to true the wire-frame is drawn; otherwise the mesh is drawn with solid faces.
drawOverScene
Type: System.Boolean
If set to true the object is drawn over the graphics scene (depth-test disabled).
Exceptions
ExceptionCondition
ArgumentNullExceptionviewVolume is null.
NotSupportedException Drawing solid objects with disabled depth test is not yet supported.
See Also