IUxrControllerInput.GetButtonPressFlags Method

Gets an uint value representing press 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#

uint GetButtonPressFlags(
	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 press states for each controller button in the current frame

See Also

Reference

IUxrControllerInput Interface
UltimateXR.Devices Namespace
UltimateXR.Devices.UxrInputButtons