docs.unity.cn
    Show / Hide Table of Contents

    Class OculusUsages

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

    Inheritance
    Object
    OculusUsages
    Namespace: Unity.XR.Oculus
    Syntax
    public static class OculusUsages

    Fields

    indexTouch

    Represents the capacitive touch sensor state on the trigger of the Oculus Rift Controller.

    Declaration
    public static InputFeatureUsage<bool> indexTouch
    Field Value
    Type Description
    InputFeatureUsage<Boolean>

    thumbrest

    Represents the capacitive touch thumbrest on Oculus Rift controllers.

    Declaration
    public static InputFeatureUsage<bool> thumbrest
    Field Value
    Type Description
    InputFeatureUsage<Boolean>

    thumbTouch

    Represents the capacitive touch sensor state on the grip of the Oculus Rift Controller.

    Declaration
    public static InputFeatureUsage<bool> thumbTouch
    Field Value
    Type Description
    InputFeatureUsage<Boolean>

    volumeDown

    Represents the state of the volume down physical button on the headset. This is also processed internally to adjust the volume regardless of developer handling.

    Declaration
    public static InputFeatureUsage<bool> volumeDown
    Field Value
    Type Description
    InputFeatureUsage<Boolean>

    volumeUp

    Represents the state of the volume up physical button on the headset. This is also processed internally to adjust the volume regardless of developer handling.

    Declaration
    public static InputFeatureUsage<bool> volumeUp
    Field Value
    Type Description
    InputFeatureUsage<Boolean>
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, March 3, 2023
    Terms of use