Class WindowsMRUsages | Windows XR Plugin | 3.0.1-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class WindowsMRUsages

    Input Usages, consumed by the UnityEngine.XR.InputDevice class in order to retrieve inputs. These usages are all WindowsMR specific.

    Inheritance
    Object
    WindowsMRUsages
    Namespace: Unity.XR.WindowsMR
    Syntax
    public static class WindowsMRUsages

    Fields

    PointerPosition

    A Vector3 position representing the tip of the controller pointing forward.

    Declaration
    public static InputFeatureUsage<Vector3> PointerPosition
    Field Value
    Type Description
    InputFeatureUsage<Vector3>

    PointerRotation

    A Quaternion rotation representing the tip of the controller pointing forward.

    Declaration
    public static InputFeatureUsage<Quaternion> PointerRotation
    Field Value
    Type Description
    InputFeatureUsage<Quaternion>

    SourceLossRisk

    A [0,1] value that reports the risk that detection of the hand will be lost.

    Declaration
    public static InputFeatureUsage<float> SourceLossRisk
    Field Value
    Type Description
    InputFeatureUsage<Single>

    SourceMitigationDirection

    A Vector3 direction that reports the suggested direction the user should move his hand if he is at risk of losing tracking.

    Declaration
    public static InputFeatureUsage<Vector3> SourceMitigationDirection
    Field Value
    Type Description
    InputFeatureUsage<Vector3>
    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