Table of Contents

Class DebugDrawer

Namespace
LibGFX.Physics
Assembly
LibGFX.dll

Represents a debug drawer

public class DebugDrawer : DebugDraw, IDisposable
Inheritance
BulletObject
BulletDisposableObject
DebugDraw
DebugDrawer
Implements
Inherited Members
BulletDisposableObject.Dispose()
BulletDisposableObject.IsDisposed

Constructors

DebugDrawer(IRenderDevice)

Creates a new debug drawer

public DebugDrawer(IRenderDevice RenderDevice)

Parameters

RenderDevice IRenderDevice

Properties

DebugColor

Gets or sets the debug color

public Vector4 DebugColor { get; set; }

Property Value

Vector4

DebugMode

Gets or sets the debug mode

public override DebugDrawModes DebugMode { get; set; }

Property Value

DebugDrawModes

Methods

Draw3DText(ref Vector3, string)

Draws a 3D text

public override void Draw3DText(ref Vector3 location, string textString)

Parameters

location Vector3
textString string

DrawLine(ref Vector3, ref Vector3, ref Vector3)

Draws an line

public override void DrawLine(ref Vector3 from, ref Vector3 to, ref Vector3 color)

Parameters

from Vector3
to Vector3
color Vector3

ReportErrorWarning(string)

Draws a contact point

public override void ReportErrorWarning(string warningString)

Parameters

warningString string