docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct QueryTraitExpression

    Trait expressions represent semantic filtering of animation poses that are based on tag traits.

    Namespace: Unity.Kinematica
    Assembly: solution.dll
    Syntax
    public struct QueryTraitExpression
    Remarks

    Constraints can be stacked by adding multiple constraints to the filter expression. An expression always starts with zero or more filters based on tag traits and ends with zero or more filters that are based on marker traits. The portion of a query expression that filters based on tag traits is a trait expression and can be introduced at any point in the expression. It is possible to switch from a trait expression to a marker expression, but not visa versa.

    Methods

    Name Description
    After<T>()
    And<T>(T)

    Appends a tag trait constraint to the existing tag trait expression.

    At<T>()
    Before<T>()
    Dispose()

    Disposes the underlying constructed filter expression.

    Except<T>(T)

    Appends a tag trait constraint to the existing tag trait expression.

    Or<T>(T)

    Appends a tag trait constraint to the existing tag trait expression.

    Operators

    Name Description
    implicit operator PoseSet(QueryTraitExpression)
    implicit operator QueryResult(QueryTraitExpression)

    Implicit conversion from a marker expression to a pose sequence.

    See Also

    Query
    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)