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 |