docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawTangent

    DrawTangent(SelectableTangent, bool, bool)

    Draws handles for a tangent. These handles are drawn only during repaint events and not on selection.

    Declaration
    public static void DrawTangent(SelectableTangent tangent, bool selected = false, bool hovered = false)
    Parameters
    Type Name Description
    SelectableTangent tangent

    The SelectableTangent to create handles for.

    bool selected

    Set to true to draw the tangent handle as a selected element.

    bool hovered

    Set to true to draw the tangent handle as a hovered element.

    DrawTangent(int, SelectableTangent, bool, bool)

    Draws handles for a tangent. These handles are drawn only during repaint events and not on selection.

    Declaration
    public static void DrawTangent(int controlID, SelectableTangent tangent, bool selected = false, bool hovered = false)
    Parameters
    Type Name Description
    int controlID

    The controlID of the tangent to create handles for.

    SelectableTangent tangent

    The SelectableTangent to create handles for.

    bool selected

    Set to true to draw the tangent handle as a selected element.

    bool hovered

    Set to true to draw the tangent handle as a hovered element.

    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)