Struct QueryResult
A query result is wrapper around a pose sequence and is the result of a semantic filtering query.
Namespace: Unity.Kinematica
Syntax
public struct QueryResult : IDisposable
Fields
sequences
Denotes the pose sequence that matches the query result.
Declaration
public NativeList<PoseSequence> sequences
Field Value
Type | Description |
---|---|
NativeList<PoseSequence> |
Properties
Empty
An empty query result.
Declaration
public static QueryResult Empty { get; }
Property Value
Type | Description |
---|---|
QueryResult |
Item[Int32]
Allows access to a single element of the pose sequence.
Declaration
public PoseSequence this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
PoseSequence |
length
Denotes the number of elements of the pose sequence.
Declaration
public int length { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
Add(Binary.IntervalIndex, Int32, Int32)
Appends an element to the pose sequence.
Declaration
public void Add(Binary.IntervalIndex intervalIndex, int firstFrame, int numFrames)
Parameters
Type | Name | Description |
---|---|---|
Binary.IntervalIndex | intervalIndex | The interval index that the selected poses should refer to. |
Int32 | firstFrame | The first frame (relative to the segment) that the pose sequence should start at. |
Int32 | numFrames | The number of frames that the pose sequence should contain. |
Remarks
Pose sequences are based on the notion of partial intervals, i.e. an element of a sequence can refer to an interval and optionally further reduce by selecting a sub-section of the interval.
See Also
Create()
Creates an empty query result.
Declaration
public static QueryResult Create()
Returns
Type | Description |
---|---|
QueryResult |
Dispose()
Disposes the underlying pose sequence.
Declaration
public void Dispose()