Language
Edit

HandConstraintPalmUp.IsValidController(Nullable<XRNode>) Method

Definition

Determines if a hand meets the requirements for use with constraining the tracked object and determines if the palm is currently facing the user.

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

Parameters

hand
Nullable<UnityEngine.XR.XRNode>

XRNode representing the hand to validate.

Returns

true if this hand should be used for tracking.

Remarks

This method will modify the position and rotation behavior of the hand constraint if the followHandUntilFacingCamera variable is enabled.

Applies to