docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Where

    Where<T>(T)

    Introduces a tag trait expression that selects based on a "where" clause.

    Declaration
    public QueryTraitExpression Where<T>(T value) where T : struct
    Parameters
    Type Name Description
    T value

    The trait values to be used as constraint.

    Returns
    Type Description
    QueryTraitExpression
    Type Parameters
    Name Description
    T
    Remarks

    A "where" clause matches all intervals from the motion library that contain the trait passed as argument.

    synthesizer.Query.Where(Climbing.Create(Climbing.Type.Wall));
    See Also
    Query

    Where<T>(NativeString64, T)

    Declaration
    public QueryTraitExpression Where<T>(NativeString64 debugName, T value) where T : struct
    Parameters
    Type Name Description
    NativeString64 debugName
    T value
    Returns
    Type Description
    QueryTraitExpression
    Type Parameters
    Name Description
    T
    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)