Click or drag to resize
DigitalRuneDebugRendererDrawCapsule Method
Draws a capsule that is centered at the local origin and parallel to the local y axis.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void DrawCapsule(
	float radius,
	float height,
	Pose pose,
	Color color,
	bool drawWireFrame,
	bool drawOverScene
)

Parameters

radius
Type: SystemSingle
The radius of the capsule.
height
Type: SystemSingle
The total height of the capsule.
pose
Type: DigitalRune.GeometryPose
The pose of the sphere in world space.
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
ExceptionCondition
NotSupportedException Drawing solid objects with disabled depth test is not yet supported.
See Also