IUxrControllerInput.GetButtonPressFlagsLastFrame Method

Gets an uint value representing press states for each the in the last frame.

Namespace: UltimateXR.Devices
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

uint GetButtonPressFlagsLastFrame(
	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 last frame

See Also

Reference

IUxrControllerInput Interface
UltimateXR.Devices Namespace
UltimateXR.Devices.UxrInputButtons