HandConstraintPalmUp.IsValidController(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.
Determines if a controller meets the requirements for use with constraining the tracked object and determines if the palm is currently facing the user. This function will modify the position and rotation behavior of the hand constraint if the followHandUntilFacingCamera variable is enabled.
protected:
override bool IsValidController(Microsoft::MixedReality::Toolkit::Input::IMixedRealityController ^ controller);
protected override bool IsValidController (Microsoft.MixedReality.Toolkit.Input.IMixedRealityController controller);
override this.IsValidController : Microsoft.MixedReality.Toolkit.Input.IMixedRealityController -> bool
Protected Overrides Function IsValidController (controller As IMixedRealityController) As Boolean
Parameters
- controller
- IMixedRealityController
The hand to check against.
Returns
True if this hand should be used for tracking.