UxrControllerInput.IsInput2dDPadUp Method (Single)

Checks if the given 2-axis input represented as an angle in degrees corresponds to an up press in a digital pad. 0 degrees is right and degrees increase counterclockwise.

Namespace: UltimateXR.Devices
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

protected static bool IsInput2dDPadUp(
	float touchPadAngle
)

Parameters

 

touchPadAngle
Type: System.Single
2-axis input in degrees

Return Value

Type: Boolean
True if the input corresponds to an up press

See Also

Reference

UxrControllerInput Class
IsInput2dDPadUp Overload
UltimateXR.Devices Namespace