Bearbeiten

Freigeben über


Interactable.GetReceivers<T> Method

Definition

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>

Applies to