docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawKnot

    DrawKnot(SelectableKnot, bool, bool)

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

    Declaration
    public static void DrawKnot(SelectableKnot knot, bool selected = false, bool hovered = false)
    Parameters
    Type Name Description
    SelectableKnot knot

    The SelectableKnot to create handles for.

    bool selected

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

    bool hovered

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

    DrawKnot(int, SelectableKnot, bool, bool)

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

    Declaration
    public static void DrawKnot(int controlID, SelectableKnot knot, bool selected = false, bool hovered = false)
    Parameters
    Type Name Description
    int controlID

    The controlID of the tangent to create handles for.

    SelectableKnot knot

    The SelectableKnot to create handles for.

    bool selected

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

    bool hovered

    Set to true to draw the knot 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)