編輯

共用方式為


Interactable.GetReceiver<T> Method

Definition

Returns the first receiver of type T on the interactable, or null if nothing is found.

public:
generic <typename T>
 where T : Microsoft::MixedReality::Toolkit::UI::ReceiverBase T GetReceiver();
public T GetReceiver<T> () where T : Microsoft.MixedReality.Toolkit.UI.ReceiverBase;
member this.GetReceiver : unit -> 'T (requires 'T :> Microsoft.MixedReality.Toolkit.UI.ReceiverBase)
Public Function GetReceiver(Of T As ReceiverBase) () As T

Type Parameters

T

Returns

T

Applies to