Edit

Bagikan melalui


PointerUtils.SetHandPokePointerBehavior(PointerBehavior, Handedness) Method

Definition

Sets the behavior for the poke pointer with given handedness.

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