UxrControllerInput.IsInput2dDPadLeft Method (Single)

Checks if the given 2-axis input represented as an angle in degrees corresponds to a left 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 IsInput2dDPadLeft(
	float touchPadAngle
)

Parameters

 

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

Return Value

Type: Boolean
True if the input corresponds to a left press

See Also

Reference

UxrControllerInput Class
IsInput2dDPadLeft Overload
UltimateXR.Devices Namespace