Modifier

Partager via


HandConstraint.IsValidController(IMixedRealityController) Method

Definition

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

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

Parameters

controller
IMixedRealityController

The controller to check against.

Returns

True if this hand should be used from tracking.

Applies to