Edit

Bagikan melalui


PointerUtils.SetHandRayPointerBehavior(PointerBehavior, Handedness) Method

Definition

Sets the behavior for the hand ray with given handedness

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

Applies to