Editar

Partilhar via


PointerUtils.GetPointerBehavior<T>(Handedness, InputSourceType) Method

Definition

Queries input system for the behavior of a given pointer type. See .

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

Type Parameters

T

Type of pointer to query

Parameters

handedness
Handedness

Handedness to query

inputSourceType
InputSourceType

Returns

for the given pointer type and handedness

Applies to