Interface ISimulationDebugDraw3D
Interface for drawing debug information of Simulation 3D.
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public interface ISimulationDebugDraw3D
Methods
Draw3dText(ref Vector3, string)
Draw a 3D text.
Declaration
void Draw3dText(ref Vector3 location, string textString)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | location | The text position. |
string | textString | The text string. |
DrawCircle(float, ref Matrix4x4, ref Color)
Draw a line.
Declaration
void DrawCircle(float radius, ref Matrix4x4 transform, ref Color color)
Parameters
Type | Name | Description |
---|---|---|
float | radius | The radius. |
Matrix4x4 | transform | The circle transform. |
Color | color | Line color. |
DrawLine(ref Vector3, ref Vector3, ref Color)
Draw a line.
Declaration
void DrawLine(ref Vector3 from, ref Vector3 to, ref Color color)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | from | Start position. |
Vector3 | to | End position. |
Color | color | Line color. |
ReportErrorWarning(string)
Report warning string.
Declaration
void ReportErrorWarning(string warningString)
Parameters
Type | Name | Description |
---|---|---|
string | warningString | The warning string. |