SPinTypeSelector::CreateObjectReferenceWidget

Helper function to create widget for the sub-menu

Windows
MacOS
Linux

References

Module

KismetWidgets

Header

/Engine/Source/Editor/KismetWidgets/Public/SPinTypeSelector.h

Include

#include "SPinTypeSelector.h"

Source

/Engine/Source/Editor/KismetWidgets/Private/SPinTypeSelector.cpp

Syntax

TSharedRef< SWidget > CreateObjectReferenceWidget
(
    FPinTypeTreeItem InItem,
    FEdGraphPinType & InPinType,
    const FSlateBrush * InIconBrush,
    FText InSimpleTooltip
) const

Remarks

Helper function to create widget for the sub-menu

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss