Skip to main content
Version: 17 Jan 2024

Utils

NameSpace: OpenXR

Public Methods

InputDevice FindMagicLeapController

Finds an appropriate Magic Leap Controller registered through OpenXR which is properly named and is valid.

public static InputDevice FindMagicLeapController(
InputDeviceCharacteristics inputDeviceCharacteristics
)

Parameters

TypeNameDescription
InputDeviceCharacteristicsinputDeviceCharacteristicsThe characteristics required of the input device to be found.

Returns: A Magic Leap Controller InputDevice registered through OpenXR. If none is found then a new InputDevice is returned.