Interactable.GetReceiver<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 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