Class BulletDebugDraw3D
Bullet debug draw instance.
Implements
Inherited Members
EvergineDebugDraw.Reset()
EvergineDebugDraw.DumpDrawCommands()
EvergineDebugDraw.DebugMode
EvergineDebugDraw.DefaultColors
BulletDisposableObject.Dispose()
BulletDisposableObject.IsDisposed
Namespace: Evergine.Bullet
Assembly: Evergine.Bullet.dll
Syntax
public class BulletDebugDraw3D : EvergineDebugDraw, IDisposable
Constructors
BulletDebugDraw3D()
Initializes a new instance of the Bullet
Declaration
public BulletDebugDraw3D()
Fields
ImplementationInstance
the debug draw instance.
Declaration
public ISimulationDebugDraw3D ImplementationInstance
Field Value
Type | Description |
---|---|
ISimulation |
Properties
Aabb
Gets or sets the debug color of an AABB of an object.
Declaration
public Color Aabb { get; set; }
Property Value
Type | Description |
---|---|
Color |
ActiveObject
Gets or sets the debug color of an Active Object.
Declaration
public Color ActiveObject { get; set; }
Property Value
Type | Description |
---|---|
Color |
ContactPoint
Gets or sets the debug color of an AABB of a contact point.
Declaration
public Color ContactPoint { get; set; }
Property Value
Type | Description |
---|---|
Color |
DeactivatedObject
Gets or sets the debug color of an Deactivated Object.
Declaration
public Color DeactivatedObject { get; set; }
Property Value
Type | Description |
---|---|
Color |
DisabledDeactivationObject
Gets or sets the debug color of an disabled object that is going to disable its deactivation.
Declaration
public Color DisabledDeactivationObject { get; set; }
Property Value
Type | Description |
---|---|
Color |
DisabledSimulationObject
Gets or sets the debug color of a disabled simulation object.
Declaration
public Color DisabledSimulationObject { get; set; }
Property Value
Type | Description |
---|---|
Color |
IsActive
Gets a value indicating whether this debug draw is active.
Declaration
public bool IsActive { get; }
Property Value
Type | Description |
---|---|
bool |
WantsDeactivationObject
Gets or sets the debug color of an Object to ve deactivate.
Declaration
public Color WantsDeactivationObject { get; set; }
Property Value
Type | Description |
---|---|
Color |
Methods
Draw3DText(ref Vector3, string)
Declaration
public override void Draw3DText(ref Vector3 location, string textString)
Parameters
Overrides
DrawLine(ref Vector3, ref Vector3, ref Vector3)
Declaration
public override void DrawLine(ref Vector3 from, ref Vector3 to, ref Vector3 color)
Parameters
Overrides
DrawSphere(float, ref Matrix4x4, ref Vector3)
Declaration
public override void DrawSphere(float radius, ref Matrix4x4 transform, ref Vector3 color)
Parameters
Overrides
ReportErrorWarning(string)
Declaration
public override void ReportErrorWarning(string warningString)
Parameters
Type | Name | Description |
---|---|---|
string | warningString |