Click or drag to resize
DigitalRuneDebugRendererDrawContacts Method (ContactSet, Single, NullableColor, Boolean)
Draws contacts.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void DrawContacts(
	ContactSet contactSet,
	float normalLength,
	Nullable<Color> color,
	bool drawOverScene
)

Parameters

contactSet
Type: DigitalRune.Geometry.CollisionsContactSet
The contact set.
normalLength
Type: SystemSingle
The length of the normal vector in world space.
color
Type: SystemNullableColor
The color. If this parameter is , each contact is drawn with a unique 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