| DebugRendererDrawViewVolume Method (ViewVolume, Pose, Color, Boolean, Boolean) |
Draws a view volume (viewing frustum).
Namespace: DigitalRune.Graphics.RenderingAssembly: 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
)
Public Sub DrawViewVolume (
viewVolume As ViewVolume,
pose As Pose,
color As Color,
drawWireFrame As Boolean,
drawOverScene As Boolean
)
public:
void DrawViewVolume(
ViewVolume^ viewVolume,
Pose pose,
Color color,
bool drawWireFrame,
bool drawOverScene
)
member DrawViewVolume :
viewVolume : ViewVolume *
pose : Pose *
color : Color *
drawWireFrame : bool *
drawOverScene : bool -> unit
Parameters
- viewVolume
- Type: DigitalRune.Geometry.ShapesViewVolume
The view volume. - pose
- Type: DigitalRune.GeometryPose
The pose. - color
- Type: Color
The color. - drawWireFrame
- Type: SystemBoolean
If set to the wire-frame is drawn; otherwise the mesh is drawn with
solid faces.
- drawOverScene
- Type: SystemBoolean
If set to the object is drawn over the graphics scene (depth-test
disabled).
Exceptions See Also