Modifica

Condividi tramite


PointerUtils.GetPointer<T>(Handedness) Method

Definition

Find the first detected pointer of the given type with matching handedness.

public:
generic <typename T>
 where T : class, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointer static T GetPointer(Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness);
public static T GetPointer<T> (Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness) where T : class, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer;
static member GetPointer : Microsoft.MixedReality.Toolkit.Utilities.Handedness -> 'T (requires 'T : null and 'T :> Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer)
Public Shared Function GetPointer(Of T As {Class, IMixedRealityPointer}) (handedness As Handedness) As T

Type Parameters

T

Parameters

handedness
Handedness

Returns

T

Applies to