UxrControllerInput.ControllerElementToInput2D Method
Gets the UxrInput2D enum value given a controller element (UxrControllerElements ) enum value.
Namespace: UltimateXR.Devices
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static UxrInput2D ControllerElementToInput2D(
UxrControllerElements element
)
Parameters
- element
- Type: UltimateXR.Devices.UxrControllerElements
Controller element to get the UxrInput2D enum value for
Return Value
Type: UxrInput2D
UxrInput2D enum value representing the controller element, or None if it doesn’t exist
Remarks
This method doesn’t support using flag composition for [!:element], use only a single value