UxrControllerInput.HasControllerElements Method

Checks if the given controller has specific elements.

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

Syntax

C#

public abstract bool HasControllerElements(
	UxrHandSide handSide,
	UxrControllerElements controllerElement
)


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.
controllerElement
Type: UltimateXR.Devices.UxrControllerElements
[Missing documentation for “M:UltimateXR.Devices.UxrControllerInput.HasControllerElements(UltimateXR.Core.UxrHandSide,UltimateXR.Devices.UxrControllerElements)”]

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

UxrControllerInput Class
UltimateXR.Devices Namespace