Interface ISimulationDebugDraw3D
Interface for drawing debug information in Simulation 3D.
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public interface ISimulationDebugDraw3D
Methods
Draw3dText(ref Vector3, string)
Draws 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)
Draws 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's transform. |
Color | color | The line's color. |
DrawLine(ref Vector3, ref Vector3, ref Color)
Draws a line.
Declaration
void DrawLine(ref Vector3 from, ref Vector3 to, ref Color color)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | from | Starting position. |
Vector3 | to | Ending position. |
Color | color | Line color. |
ReportErrorWarning(string)
Reports a warning string.
Declaration
void ReportErrorWarning(string warningString)
Parameters
Type | Name | Description |
---|---|---|
string | warningString | The warning string. |