docs.unity3d.com
    Show / Hide Table of Contents

    Struct Pose

    Represents a tracked object in real-world space. All poses are given in the same root space, dictated by .

    Namespace: UnityEngine.XR.OpenXR.Input
    Syntax
    public struct Pose

    Properties

    angularVelocity

    The position, in radians per second, of the object in-real world space. This will be available if trackingState contains the flag.

    Declaration
    public Vector3 angularVelocity { get; set; }
    Property Value
    Type Description
    Vector3

    isTracked

    If true, this position is being accurately tracked in real-world space. This value means that no values are estimated and tracking is not currently inhibited in any way.

    Declaration
    public bool isTracked { get; set; }
    Property Value
    Type Description
    Boolean

    position

    The position, in meters, of the object in real-world space. This will be available if trackingState contains the flag.

    Declaration
    public Vector3 position { get; set; }
    Property Value
    Type Description
    Vector3

    rotation

    The rotation, in radians, of the object in real-world space. This will be available if trackingState contains the flag.

    Declaration
    public Quaternion rotation { get; set; }
    Property Value
    Type Description
    Quaternion

    trackingState

    A series of flags that identify which tracking values currently have data. That data can be measured by the real world or estimated when tracking is inhibited.

    Declaration
    public InputTrackingState trackingState { get; set; }
    Property Value
    Type Description
    InputTrackingState

    velocity

    The velocity, in meters per second, of the object in real-world space. This will be available if trackingState contains the flag.

    Declaration
    public Vector3 velocity { get; set; }
    Property Value
    Type Description
    Vector3
    Back to top
    Terms of use
    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