Bearbeiten

Freigeben über


PointerUtils.SetMotionControllerRayPointerBehavior Method

Definition

Sets the behavior for the motion controller ray with given handedness

public static void SetMotionControllerRayPointerBehavior (Microsoft.MixedReality.Toolkit.Input.PointerBehavior pointerBehavior, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness = Microsoft.MixedReality.Toolkit.Utilities.Handedness.Any);
static member SetMotionControllerRayPointerBehavior : Microsoft.MixedReality.Toolkit.Input.PointerBehavior * Microsoft.MixedReality.Toolkit.Utilities.Handedness -> unit
Public Shared Sub SetMotionControllerRayPointerBehavior (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.

Applies to