Language
Edit

HandednessExtensions.ToXRNode(Handedness) Method

Definition

Gets the UnityEngine.XR.XRNode representing the specified handedness. If the Handedness flags include both Left and Right, returns null.

public static UnityEngine.XR.XRNode? ToXRNode(this MixedReality.Toolkit.Handedness hand);
static member ToXRNode : MixedReality.Toolkit.Handedness -> Nullable<UnityEngine.XR.XRNode>
<Extension()>
Public Function ToXRNode (hand As Handedness) As Nullable(Of XRNode)

Parameters

hand
Handedness

The Handedness value for which the UnityEngine.XR.XRNode is requested.

Returns

Nullable<UnityEngine.XR.XRNode>

UnityEngine.XR.XRNode representing the specified Handedness, or null.

Applies to