SPinTypeSelector::CreateObjectReferenceWidget

Helper function to create widget for the sub-menu

Unreal Engine C++ API Reference > Editor > KismetWidgets > SPinTypeSelector

References

   
Module KismetWidgets
Header /Engine/Source/Editor/KismetWidgets/Public/SPinTypeSelector.h
Include #include "SPinTypeSelector.h"
Source /Engine/Source/Editor/KismetWidgets/Private/SPinTypeSelector.cpp
[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > CreateObjectReferenceWidget
(
    FPinTypeTreeItem InItem,
    [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & InPinType,
    const [FSlateBrush](API\Runtime\SlateCore\Styling\FSlateBrush) * InIconBrush,
    [FText](API\Runtime\Core\Internationalization\FText) InSimpleTooltip
) const

Remarks

Helper function to create widget for the sub-menu

Parameters

Name Description
InItem Tree item to use for the callback when a menu item is selected
InPinType Pin type for generation of the widget to display for the menu entry
InIconBrush Brush icon to use for the menu entry item
InTooltip The simple tooltip to use for the menu item, an advanced tooltip link will be auto-generated based on the PinCategory

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library