Struct Binary.Tag
Tags are used to associate a trait to a sequence of animation frames.
Namespace: Unity.Kinematica
Assembly: solution.dll
Syntax
public struct Binary.Tag
Remarks
Tags can be used in a variety of scenarios:
- Narrow the result of a query
- Control behavior of a task
Tags are a general purpose tool that allows a custom trait to be associated with a sequence of animation frames. Queries support tags directly by allowing to include or exclude animation frames based on the associated tags.
Tags can also be accessed directly given a reference to the runtime asset and therefore tasks can perform any kind of custom processing based on them.
Fields
Name | Description |
---|---|
first |
Denotes the first frame this tag refers to. |
interval |
Denotes the first interval index for this tag. |
num |
Denotes the number of frames this tag refers to. |
num |
Denotes the number of intervals this tag belongs to. |
segment |
Denotes the segment this tag belongs to. |
trait |
Denotes the associated trait. |
Properties
Name | Description |
---|---|
First |
Denotes the first frame this tag refers to. |
Num |
Denotes the number of frames this tag refers to. |
One |
Denotes the one-past-last frame this tag refer to. |