UxrControllerInput.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#

public 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

Implements

IUxrControllerInput.GetButtonPressFlags(UxrHandSide, Boolean)

See Also

Reference

UxrControllerInput Class
UltimateXR.Devices Namespace
UltimateXR.Devices.UxrInputButtons