| DebugRendererDrawContact Method |
Draws a contact.
Namespace: DigitalRune.Graphics.RenderingAssembly: 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
)
Public Sub DrawContact (
contact As Contact,
normalLength As Single,
color As Color,
drawOverScene As Boolean
)
public:
void DrawContact(
Contact^ contact,
float normalLength,
Color color,
bool drawOverScene
)
member DrawContact :
contact : Contact *
normalLength : float32 *
color : Color *
drawOverScene : bool -> unit
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