docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetElements

    GetElements<T>(IReadOnlyList<SplineInfo>, ICollection<T>)

    Gets all the elements of the current selection, filtered by target splines. Elements are added to the given collection.

    Declaration
    public static void GetElements<T>(IReadOnlyList<SplineInfo> targets, ICollection<T> results) where T : ISelectableElement
    Parameters
    Type Name Description
    IReadOnlyList<SplineInfo> targets

    The splines to consider when looking at selected elements.

    ICollection<T> results

    The collection to fill with spline elements from the selection.

    Type Parameters
    Name Description
    T

    SelectableKnot or SelectableTangent.

    GetElements<T>(SplineInfo, ICollection<T>)

    Gets all the elements of the current selection, from a single spline target. Elements are added to the given collection.

    Declaration
    public static void GetElements<T>(SplineInfo target, ICollection<T> results) where T : ISelectableElement
    Parameters
    Type Name Description
    SplineInfo target

    The spline to consider when looking at selected elements.

    ICollection<T> results

    The collection to fill with spline elements from the selection.

    Type Parameters
    Name Description
    T

    SelectableKnot or SelectableTangent.

    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)