Returns the hand to which given controller index has been mapped to in the device backend.
The native api does not have a concept of left vs right controller. They deal with indices. The first connected controller is index 0 and so on. By default, index 0 is mapped to the right hand in Unreal. You can invert these mappings by calling InvertControllerMapping() function.
Target is Magic Leap Controller Function Library
0
Left
|
In
Exec
|
|
|
Controller Index
Integer
|
Zero based controller index to get the hand mapping for. Should be less than MaxSupportedMagicLeapControllers(). |
|
Out
Exec
|
|
|
Hand
EControllerHand Enum
|
Output parameter which is the hand the given index maps to. Valid only if the function returns true. |
|
Return Value
Boolean
|
true of the controller index maps to a valid hand, false otherwise |