docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HasAny

    HasAny<T>(IReadOnlyList<SplineInfo>)

    Checks if the current selection contains at least one element from the given targeted splines.

    Declaration
    public static bool HasAny<T>(IReadOnlyList<SplineInfo> targets) where T : struct, ISelectableElement
    Parameters
    Type Name Description
    IReadOnlyList<SplineInfo> targets

    The splines to consider when looking at selected elements.

    Returns
    Type Description
    bool

    Returns true if the current selection contains at least an element of the desired type.

    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)