docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetActionHandle

    GetActionHandle(InputAction, InputDevice)

    Returns the OpenXR action handle for the given input action

    Declaration
    public static ulong GetActionHandle(InputAction inputAction, InputDevice inputDevice = null)
    Parameters
    Type Name Description
    InputAction inputAction

    Source InputAction

    InputDevice inputDevice

    Optional InputDevice to filter by

    Returns
    Type Description
    ulong

    OpenXR handle that is associated with the given InputAction or 0 if not found

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