Language
Edit

HandConstraint.IsValidController(Nullable<XRNode>) Method

Definition

Determines if a hand meets the requirements for use with constraining the tracked object.

protected virtual bool IsValidController(UnityEngine.XR.XRNode? hand);
abstract member IsValidController : Nullable<UnityEngine.XR.XRNode> -> bool
override this.IsValidController : Nullable<UnityEngine.XR.XRNode> -> bool
Protected Overridable Function IsValidController (hand As Nullable(Of XRNode)) As Boolean

Parameters

hand
Nullable<UnityEngine.XR.XRNode>

The XRNode representing the hand to check against.

Returns

true if this hand should be used from tracking.

Applies to