Method And
And<T>(T)
Appends a tag trait constraint to the existing tag trait expression.
Declaration
public QueryTraitExpression And<T>(T value) where T : struct
Parameters
| Type | Name | Description |
|---|---|---|
| T | value |
Returns
| Type | Description |
|---|---|
| QueryTraitExpression |
Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
An "and" clause matches all intervals from the motion library
that contain the trait passed as argument and any constraint
that has been previously specified as part of the tag trait expression.
synthesizer.Query.Where(
Locomotion.Default).And(Idle.Default));