docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DrawUtils

    DrawUtils handles drawing of primitives for custom VisualElements.

    Inheritance
    object
    DrawUtils
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SystemGraph
    Assembly: solution.dll
    Syntax
    public static class DrawUtils

    Methods

    Name Description
    DrawLine(List<ushort>, List<Vertex>, Vector2, Vector2, float, Color, Color)

    Draws a line.

    DrawLineStitched(float, List<ushort>, List<Vertex>, Vector2, Vector2, float, Color, Color)

    Draws the line stitched to the previous line

    DrawQuadGradient(List<ushort>, List<Vertex>, Vector2[], Color, Color)

    Draws a quad with color gradient.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)