UxrDummyControllerInput.HasControllerElements Method

Checks if the given controller has specific elements.

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

Syntax

C#

public override 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.Integrations.UxrDummyControllerInput.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

UxrDummyControllerInput Class
UltimateXR.Devices.Integrations Namespace