編輯

共用方式為


FocusProvider.GetPointers<T> Method

Definition

Provides access to all registered pointers of a specified type.

public:
generic <typename T>
 where T : class, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointer virtual System::Collections::Generic::IEnumerable<T> ^ GetPointers();
public System.Collections.Generic.IEnumerable<T> GetPointers<T> () where T : class, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer;
abstract member GetPointers : unit -> seq<'T (requires 'T : null and 'T :> Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer)> (requires 'T : null and 'T :> Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer)
override this.GetPointers : unit -> seq<'T (requires 'T : null and 'T :> Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer)> (requires 'T : null and 'T :> Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer)
Public Function GetPointers(Of T As {Class, IMixedRealityPointer}) () As IEnumerable(Of T)
Public Iterator Overridable NotOverridable Function GetPointers(Of T As {Class, IMixedRealityPointer}) () As IEnumerable(Of T)

Type Parameters

T

The type of pointers to request. Use IMixedRealityPointer to access all pointers.

Returns

Implements

Applies to