UxrControllerInput.IsInput2dDPadDown Method (Single)
Checks if the given 2-axis input represented as an angle in degrees corresponds to a down 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 IsInput2dDPadDown(
float touchPadAngle
)
Parameters
- touchPadAngle
- Type: System.Single
2-axis input in degrees
Return Value
Type: Boolean
True if the input corresponds to a down press
See Also
Reference
UxrControllerInput Class
IsInput2dDPadDown Overload
UltimateXR.Devices Namespace