Editar

Compartir a través de


HandConstraint.IsOppositeHandNear(IMixedRealityController) Method

Definition

Performs an intersection test to see if the left hand is near the right hand or vice versa.

protected:
 virtual bool IsOppositeHandNear(Microsoft::MixedReality::Toolkit::Input::IMixedRealityController ^ controller);
protected virtual bool IsOppositeHandNear (Microsoft.MixedReality.Toolkit.Input.IMixedRealityController controller);
abstract member IsOppositeHandNear : Microsoft.MixedReality.Toolkit.Input.IMixedRealityController -> bool
override this.IsOppositeHandNear : Microsoft.MixedReality.Toolkit.Input.IMixedRealityController -> bool
Protected Overridable Function IsOppositeHandNear (controller As IMixedRealityController) As Boolean

Parameters

controller
IMixedRealityController

The hand to check against.

Returns

True, when hands are near each other.

Applies to