Click or drag to resize
DigitalRuneDebugRendererDrawContacts Method (ContactSetCollection, 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(
	ContactSetCollection contactSets,
	float normalLength,
	Nullable<Color> color,
	bool drawOverScene
)

Parameters

contactSets
Type: DigitalRune.Geometry.CollisionsContactSetCollection
The contact sets.
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