docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class OpenXRInput

    OpenXR Input related functionality.

    Inheritance
    object
    OpenXRInput
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.XR.OpenXR.Input
    Assembly: solution.dll
    Syntax
    public static class OpenXRInput

    Methods

    Name Description
    GetActionHandle(InputAction, InputDevice)

    Returns the OpenXR action handle for the given input action

    GetActionIsActive(InputAction)

    Return the active state of the given action

    SendHapticImpulse(InputAction, float, float, float, InputDevice)

    Send a haptic impulse using the given action

    SendHapticImpulse(InputAction, float, float, InputDevice)

    Send a haptic impulse using the given action

    SendHapticImpulse(InputActionReference, float, float, float, InputDevice)

    Send a haptic impulse using an action reference

    SendHapticImpulse(InputActionReference, float, float, InputDevice)

    Send a haptic impulse using an action reference

    StopHaptics(InputAction, InputDevice)

    Stop any haptics playing for the given action

    StopHaptics(InputActionReference, InputDevice)

    Stop any haptics playing for the given action reference

    TryGetInputSourceName(InputAction, int, out string, InputSourceNameFlags, InputDevice)

    Return the name of the input source bound to the given action

    TrySetControllerLateLatchAction(InputAction)

    Set InputAction to be used for controller late latching (Vulkan Only Feature). Only support one inputAction for each left and right controller. See Controller Samples MarkLateLatchNode.cs for example code and usages.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023