Language
Edit

HandConstraint.GetControllerNode(Handedness) Method

Definition

Returns the XRNode that matches the desired handedness.

protected UnityEngine.XR.XRNode? GetControllerNode(MixedReality.Toolkit.Handedness handedness);
member this.GetControllerNode : MixedReality.Toolkit.Handedness -> Nullable<UnityEngine.XR.XRNode>
Protected Function GetControllerNode (handedness As Handedness) As Nullable(Of XRNode)

Parameters

handedness
Handedness

The handedness of the returned controller

Returns

Nullable<UnityEngine.XR.XRNode>

The IMixedRealityController for the desired handedness, or null if none are present.

Applies to