UxrControllerInput.GetButtonTouchFlags Method
Gets an uint value representing touch states for each the controller UxrInputButtons flags in the current frame.
Namespace: UltimateXR.Devices
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public uint GetButtonTouchFlags(
UxrHandSide handSide,
bool getIgnoredInput = false
)
Parameters
- handSide
- Type: UltimateXR.Core.UxrHandSide
Which controller to get input from. In Single devices where IsHandednessSupported is false, such as in gamepads, both hands will address the single device. - getIgnoredInput (Optional)
- Type: System.Boolean
Whether to return ignored input by [!:SetIgnoreControllerInput]
Return Value
Type: UInt32
Button flags representing touch states for each controller button in the current frame
Implements
IUxrControllerInput.GetButtonTouchFlags(UxrHandSide, Boolean)
See Also
Reference
UxrControllerInput Class
UltimateXR.Devices Namespace
UltimateXR.Devices.UxrInputButtons