UxrControllerInput.ControllerElementToInput1D Method

Gets the UxrInput1D 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 UxrInput1D ControllerElementToInput1D(
	UxrControllerElements element
)

Parameters

 

element
Type: UltimateXR.Devices.UxrControllerElements
Controller element to get the UxrInput1D enum value for

Return Value

Type: UxrInput1D
UxrInput1D 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

See Also

Reference

UxrControllerInput Class
UltimateXR.Devices Namespace