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