Class DebugDrawer
Represents a debug drawer
public class DebugDrawer : DebugDraw, IDisposable
- Inheritance
-
BulletObjectBulletDisposableObjectDebugDrawDebugDrawer
- Implements
- Inherited Members
-
BulletDisposableObject.Dispose()BulletDisposableObject.IsDisposed
Constructors
DebugDrawer(IRenderDevice)
Creates a new debug drawer
public DebugDrawer(IRenderDevice RenderDevice)
Parameters
RenderDeviceIRenderDevice
Properties
DebugColor
Gets or sets the debug color
public Vector4 DebugColor { get; set; }
Property Value
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
DrawLine(ref Vector3, ref Vector3, ref Vector3)
Draws an line
public override void DrawLine(ref Vector3 from, ref Vector3 to, ref Vector3 color)
Parameters
ReportErrorWarning(string)
Draws a contact point
public override void ReportErrorWarning(string warningString)
Parameters
warningStringstring