docs.unity3d.com
Search Results for

    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
    Assembly: solution.dll
    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 { 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
    bool

    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 { 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 { 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 Velocity flag.

    Declaration
    public Vector3 velocity { get; set; }
    Property Value
    Type Description
    Vector3
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)