編集

次の方法で共有


PointerUtils.SetHandGrabPointerBehavior(PointerBehavior, Handedness) Method

Definition

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.

Applies to