PointerUtils.SetHandGrabPointerBehavior(PointerBehavior, Handedness) 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.
Sets the behavior for the grab pointer with given handedness.
public static void SetHandGrabPointerBehavior (Microsoft.MixedReality.Toolkit.Input.PointerBehavior pointerBehavior, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness = Microsoft.MixedReality.Toolkit.Utilities.Handedness.Any);
static member SetHandGrabPointerBehavior : Microsoft.MixedReality.Toolkit.Input.PointerBehavior * Microsoft.MixedReality.Toolkit.Utilities.Handedness -> unit
Public Shared Sub SetHandGrabPointerBehavior (pointerBehavior As PointerBehavior, Optional handedness As Handedness = Microsoft.MixedReality.Toolkit.Utilities.Handedness.Any)
Parameters
- pointerBehavior
- PointerBehavior
Desired .
- handedness
- Handedness
Specify handedness to restrict to only right, left.