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 TrackingOriginModeFlags.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    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 AngularVelocity flag.

    Declaration
    public Vector3 angularVelocity { readonly 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 { readonly 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 Position flag.

    Declaration
    public Vector3 position { readonly 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 Rotation flag.

    Declaration
    public Quaternion rotation { readonly 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 { readonly 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 Velocity flag.

    Declaration
    public Vector3 velocity { readonly 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