Interactable.GetReceivers<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.
Returns all receivers of type T on the interactable. If nothing is found, returns empty list.
public:
generic <typename T>
where T : Microsoft::MixedReality::Toolkit::UI::ReceiverBase System::Collections::Generic::List<T> ^ GetReceivers();
public System.Collections.Generic.List<T> GetReceivers<T> () where T : Microsoft.MixedReality.Toolkit.UI.ReceiverBase;
member this.GetReceivers : unit -> System.Collections.Generic.List<'T (requires 'T :> Microsoft.MixedReality.Toolkit.UI.ReceiverBase)> (requires 'T :> Microsoft.MixedReality.Toolkit.UI.ReceiverBase)
Public Function GetReceivers(Of T As ReceiverBase) () As List(Of T)
Type Parameters
- T
Returns
List<T>