UxrOculusTouchRiftSQuestInputSteamVR.HasControllerElements Method

Checks if the given controller has specific elements.

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

Syntax

C#

public override bool HasControllerElements(
	UxrHandSide handSide,
	UxrControllerElements controllerElements
)

Parameters

 

handSide
Type: UltimateXR.Core.UxrHandSide
Which controller to check. In Single devices where IsHandednessSupported is false, such as in gamepads, both hands will address the single device.
controllerElements
Type: UltimateXR.Devices.UxrControllerElements
Flags indicating the element(s) to look for

Return Value

Type: Boolean
True if the controller has all the elements specified. If one is missing, it will return false

Implements

IUxrControllerInput.HasControllerElements(UxrHandSide, UxrControllerElements)

See Also

Reference

UxrOculusTouchRiftSQuestInputSteamVR Class
UltimateXR.Devices.Integrations.Oculus Namespace