UxrControllerInput.GetButtonTouchFlagsLastFrame Method

Gets an uint value representing touch states for each the controller UxrInputButtons flags in the last frame.

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

Syntax

C#

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

Implements

IUxrControllerInput.GetButtonTouchFlagsLastFrame(UxrHandSide, Boolean)

See Also

Reference

UxrControllerInput Class
UltimateXR.Devices Namespace
UltimateXR.Devices.UxrInputButtons