| DebugRendererDrawContacts Method (ContactSetCollection, Single, NullableColor, Boolean) |
Draws contacts.
Namespace: DigitalRune.Graphics.RenderingAssembly: 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
)
Public Sub DrawContacts (
contactSets As ContactSetCollection,
normalLength As Single,
color As Nullable(Of Color),
drawOverScene As Boolean
)
public:
void DrawContacts(
ContactSetCollection^ contactSets,
float normalLength,
Nullable<Color> color,
bool drawOverScene
)
member DrawContacts :
contactSets : ContactSetCollection *
normalLength : float32 *
color : Nullable<Color> *
drawOverScene : bool -> unit
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