HandConstraint.IsOppositeHandNear(IMixedRealityController) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.