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