FocusProvider.GetPointers<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
IEnumerable<T>