Search Results for

    Show / Hide Table of Contents

    Class PhysicsDebugDraw3D

    The physics debug draw 2D.

    Inheritance
    object
    DisposableObject
    PhysicsDebugDraw3D
    Implements
    ISimulationDebugDraw3D
    Inherited Members
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.Framework.Physics3D
    Assembly: Evergine.Framework.dll
    Syntax
    public class PhysicsDebugDraw3D : DisposableObject, ISimulationDebugDraw3D

    Constructors

    PhysicsDebugDraw3D(RenderManager)

    Initializes a new instance of the PhysicsDebugDraw3D class.

    Declaration
    public PhysicsDebugDraw3D(RenderManager renderManager)
    Parameters
    Type Name Description
    RenderManager renderManager

    The Render Manager.

    Methods

    Destroy()

    Destroys all resources of this instance.

    Declaration
    protected override void Destroy()
    Overrides
    DisposableObject.Destroy()

    Draw3dText(ref Vector3, string)

    Draws 3D text.

    Declaration
    public void Draw3dText(ref Vector3 location, string textString)
    Parameters
    Type Name Description
    Vector3 location

    The text's position.

    string textString

    The string of text.

    DrawCircle(float, ref Matrix4x4, ref Color)

    Draws a line.

    Declaration
    public 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 color.

    DrawLine(ref Vector3, ref Vector3, ref Color)

    Draws a line.

    Declaration
    public 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
    public void ReportErrorWarning(string warningString)
    Parameters
    Type Name Description
    string warningString

    The warning string.

    Implements

    ISimulationDebugDraw3D

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX