Class TestDrawer | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class TestDrawer

    Inheritance
    System.Object
    TestDrawer
    Namespace: UnityEditor.U2D.Path.Tests
    Syntax
    public class TestDrawer : IDrawer

    Methods

    DrawBezier(Vector3, Vector3, Vector3, Vector3, Single, Color)

    Declaration
    public void DrawBezier(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, float width, Color color)
    Parameters
    Type Name Description
    Vector3 p1
    Vector3 p2
    Vector3 p3
    Vector3 p4
    System.Single width
    Color color
    Implements
    IDrawer.DrawBezier(Vector3, Vector3, Vector3, Vector3, Single, Color)

    DrawCreatePointPreview(Vector3)

    Declaration
    public void DrawCreatePointPreview(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position
    Implements
    IDrawer.DrawCreatePointPreview(Vector3)

    DrawDottedLine(Vector3, Vector3, Single, Color)

    Declaration
    public void DrawDottedLine(Vector3 p1, Vector3 p2, float width, Color color)
    Parameters
    Type Name Description
    Vector3 p1
    Vector3 p2
    System.Single width
    Color color

    DrawLine(Vector3, Vector3, Single, Color)

    Declaration
    public void DrawLine(Vector3 p1, Vector3 p2, float width, Color color)
    Parameters
    Type Name Description
    Vector3 p1
    Vector3 p2
    System.Single width
    Color color
    Implements
    IDrawer.DrawLine(Vector3, Vector3, Single, Color)

    DrawPoint(Vector3)

    Declaration
    public void DrawPoint(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position
    Implements
    IDrawer.DrawPoint(Vector3)

    DrawPointHovered(Vector3)

    Declaration
    public void DrawPointHovered(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position
    Implements
    IDrawer.DrawPointHovered(Vector3)

    DrawPointSelected(Vector3)

    Declaration
    public void DrawPointSelected(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position
    Implements
    IDrawer.DrawPointSelected(Vector3)

    DrawRemovePointPreview(Vector3)

    Declaration
    public void DrawRemovePointPreview(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position

    DrawSelectionRect(Rect)

    Declaration
    public void DrawSelectionRect(Rect rect)
    Parameters
    Type Name Description
    Rect rect

    DrawTangent(Vector3, Vector3)

    Declaration
    public void DrawTangent(Vector3 position, Vector3 tangent)
    Parameters
    Type Name Description
    Vector3 position
    Vector3 tangent
    Implements
    IDrawer.DrawTangent(Vector3, Vector3)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023