docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetActiveElement

    GetActiveElement(IReadOnlyList<SplineInfo>)

    Gets the active element of the selection. The active element is generally the last one added to this selection.

    Declaration
    public static ISelectableElement GetActiveElement(IReadOnlyList<SplineInfo> targets)
    Parameters
    Type Name Description
    IReadOnlyList<SplineInfo> targets

    The splines to consider when getting the active element.

    Returns
    Type Description
    ISelectableElement

    The ISelectableElement that represents the active knot or tangent. Returns null if no active element is found.

    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)