UxrHtcViveInput.HasControllerElements Method

Checks if the given controller has specific elements.

Namespace: UltimateXR.Devices.Integrations.HTC
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

UxrHtcViveInput Class
UltimateXR.Devices.Integrations.HTC Namespace