UxrControllerInput.Primary Property

Gets which hand is holding the controller in Single setups where IsHandednessSupported is available. In Dual setups it identifies the dominant hand. In both cases, Handedness determines which hand it is. In Single devices where handedness is not applicable ( IsHandednessSupported is false) it is good practice to use Primary to address the device, even if both left and right can too.

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

Syntax

C#

public UxrHandSide Primary { get; }

Property Value

Type: UxrHandSide

Implements

IUxrControllerInput.Primary

See Also

Reference

UxrControllerInput Class
UltimateXR.Devices Namespace
IUxrControllerInput.Handedness