Click or drag to resize
DigitalRuneDebugRendererDrawContact Method
Draws a contact.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void DrawContact(
	Contact contact,
	float normalLength,
	Color color,
	bool drawOverScene
)

Parameters

contact
Type: DigitalRune.Geometry.CollisionsContact
The contact.
normalLength
Type: SystemSingle
The length of the normal vector in world space.
color
Type: Color
The color.
drawOverScene
Type: SystemBoolean
If set to the object is drawn over the graphics scene (depth-test disabled).
Remarks
The penetration depth is visualized with a dark red line.
See Also