Struct QueryResult | Kinematica | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    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
    Binary.Interval
    Binary.IntervalIndex

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

    See Also

    Query
    PoseSequence
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023