Search Results for

    Show / Hide Table of Contents

    Interface ISimulationDebugDraw2D

    Interface for drawing debug information of Simulation 2D.

    Namespace: Evergine.Common.Physics2D
    Assembly: Evergine.Common.dll
    Syntax
    public interface ISimulationDebugDraw2D

    Methods

    DrawCircle(Vector2, float, Color)

    Draw a circle.

    Declaration
    void DrawCircle(Vector2 center, float radius, Color color)
    Parameters
    Type Name Description
    Vector2 center

    The center.

    float radius

    The radius.

    Color color

    The color.

    DrawPolygon(Vector2[], Color)

    Draw a polygon.

    Declaration
    void DrawPolygon(Vector2[] vertices, Color color)
    Parameters
    Type Name Description
    Vector2[] vertices

    The vertices.

    Color color

    The color.

    DrawSegment(Vector2, Vector2, Color)

    Draw a segment.

    Declaration
    void DrawSegment(Vector2 p1, Vector2 p2, Color color)
    Parameters
    Type Name Description
    Vector2 p1

    The first point of the segment.

    Vector2 p2

    The second point of the segment.

    Color color

    The color.

    DrawSolidCircle(Vector2, float, Vector2, Color)

    Draw a solid circle.

    Declaration
    void DrawSolidCircle(Vector2 center, float radius, Vector2 axis, Color color)
    Parameters
    Type Name Description
    Vector2 center

    The center.

    float radius

    The radius.

    Vector2 axis

    The axis.

    Color color

    The color.

    DrawSolidPolygon(Vector2[], Color)

    Draw a solid polygon.

    Declaration
    void DrawSolidPolygon(Vector2[] vertices, Color color)
    Parameters
    Type Name Description
    Vector2[] vertices

    The vertices.

    Color color

    The color.

    DrawTransform(Vector2, float)

    Draw a transform.

    Declaration
    void DrawTransform(Vector2 position, float angle)
    Parameters
    Type Name Description
    Vector2 position

    The Draw.

    float angle

    The Angle.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX