Navigation
API > API/Editor > API/Editor/GraphEditor
| Name | SGraphPinObject |
| Type | class |
| Header File | /Engine/Source/Editor/GraphEditor/Public/KismetPins/SGraphPinObject.h |
| Include Path | #include "KismetPins/SGraphPinObject.h" |
Syntax
class SGraphPinObject : public SGraphPin
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SBorder → SGraphPin → SGraphPinObject
- FSlateControlledConstruction → SWidget → SCompoundWidget → SBorder → SGraphPin → SGraphPinObject
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FArguments |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
KismetPins/SGraphPinObject.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AllowSelfPinWidget() |
Allow self pin widget | KismetPins/SGraphPinObject.h | |
virtual TSharedRef< SWidget > GenerateAssetPicker() |
Generate asset picker window | KismetPins/SGraphPinObject.h | |
virtual const FAssetData & GetAssetData
(
bool bRuntimePath |
Returns asset data of currently selected object, if bRuntimePath is true this will include _C for blueprint classes, for false it will point to UBlueprint instead | KismetPins/SGraphPinObject.h | |
virtual FText GetDefaultComboText() |
Get default text for the picker combo | KismetPins/SGraphPinObject.h | |
FText GetObjectName() |
Get name of the object | KismetPins/SGraphPinObject.h | |
FText GetObjectToolTip() |
Get text tooltip for object | KismetPins/SGraphPinObject.h | |
FString GetObjectToolTipAsString() |
Get text tooltip for object | KismetPins/SGraphPinObject.h | |
virtual FOnClicked GetOnBrowseButtonDelegate() |
Delegate to be called when the browse for item button is clicked | KismetPins/SGraphPinObject.h | |
virtual FOnClicked GetOnUseButtonDelegate() |
Delegate to be called when the use current selected item in asset browser button is clicked | KismetPins/SGraphPinObject.h | |
FText GetValue() |
Get string value for object | KismetPins/SGraphPinObject.h | |
void OnAssetEnterPressedInPicker
(
const TArray< FAssetData >& InSelectedAssets |
Called when enter is pressed when items are selected in the picker window | KismetPins/SGraphPinObject.h | |
virtual void OnAssetSelectedFromPicker
(
const FAssetData& AssetData |
Called to validate selection from picker window | KismetPins/SGraphPinObject.h | |
virtual FReply OnClickBrowse() |
Clicked Browse button | KismetPins/SGraphPinObject.h | |
virtual FReply OnClickUse() |
Clicked Use button | KismetPins/SGraphPinObject.h | |
FSlateColor OnGetComboForeground() |
Combo Button Color and Opacity delegate | KismetPins/SGraphPinObject.h | |
FText OnGetComboTextValue() |
Used to update the combo button text | KismetPins/SGraphPinObject.h | |
FSlateColor OnGetWidgetBackground() |
Button Color and Opacity delegate | KismetPins/SGraphPinObject.h | |
FSlateColor OnGetWidgetForeground() |
Button Color and Opacity delegate | KismetPins/SGraphPinObject.h | |
virtual bool ShouldDisplayAsSelfPin() |
True if this specific pin should be treated as a self pin | KismetPins/SGraphPinObject.h |
Overridden from SGraphPin
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool DoesWidgetHandleSettingEditingEnabled () |
If true the graph pin subclass is responsible for setting the IsEnabled delegates for the aspects it cares about. | KismetPins/SGraphPinObject.h | |
virtual TSharedRef< SWidget > GetDefaultValueWidget() |
Build the widget we should put into the 'default value' space, shown when nothing connected | KismetPins/SGraphPinObject.h |