SGraphPinObject

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GraphEditor

Header

/Engine/Source/Editor/GraphEditor/Public/KismetPins/SGraphPinObject.h

Include

#include "KismetPins/SGraphPinObject.h"

Syntax

class SGraphPinObject : public SGraphPin

Variables

Name Description

Protected variable

TSharedPtr < cla...

 

AssetPickerAnchor

Menu anchor for opening and closing the asset picker

Protected variable

TSharedPtr < SBu ...

 

BrowseButton

Protected variable

FAssetData

 

CachedAssetData

Cached AssetData of object selected

Protected variable

TSharedPtr < SBu ...

 

UseButton

Object manipulator buttons.

Functions

Name Description

Protected function Virtual Const

bool

 

AllowSelfPinWidget()

Allow self pin widget

Public function

void

 

Construct

(
    const FArguments & InArgs,
    UEdGraphPin * InGraphPinObj
)

Protected function Virtual

TSharedRef < ...

 

GenerateAssetPicker()

Generate asset picker window

Protected function Virtual Const

const FAsset ...

 

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

Protected function Virtual Const

FText

 

GetDefaultComboText()

Get default text for the picker combo

Protected function Const

FText

 

GetObjectName()

Get name of the object

Protected function Const

FText

 

GetObjectToolTip()

Get text tooltip for object

Protected function Const

FString

 

GetObjectToolTipAsString()

Get text tooltip for object

Protected function Virtual

FOnClicked

 

GetOnBrowseButtonDelegate()

Delegate to be called when the browse for item button is clicked

Protected function Virtual

FOnClicked

 

GetOnUseButtonDelegate()

Delegate to be called when the use current selected item in asset browser button is clicked

Protected function Const

FText

 

GetValue()

Get string value for object

Protected function

void

 

OnAssetEnterPressedInPicker

(
    const TArray < FAssetData >& InSele...
)

Called when enter is pressed when items are selected in the picker window

Protected function Virtual

void

 

OnAssetSelectedFromPicker

(
    const FAssetData & AssetData
)

Called to validate selection from picker window

Protected function Virtual

FReply

 

OnClickBrowse()

Clicked Browse button

Protected function Virtual

FReply

 

OnClickUse()

Clicked Use button

Protected function Const

FSlateColor

 

OnGetComboForeground()

Combo Button Color and Opacity delegate

Protected function Const

FText

 

OnGetComboTextValue()

Used to update the combo button text

Protected function Const

FSlateColor

 

OnGetWidgetBackground()

Button Color and Opacity delegate

Protected function Const

FSlateColor

 

OnGetWidgetForeground()

Button Color and Opacity delegate

Overridden from SGraphPin

Name Description

Protected function Virtual Const

bool

 

DoesWidgetHandleSettingEditingEnabled()

If true the graph pin subclass is responsible for setting the IsEnabled delegates for the aspects it cares about.

Protected function Virtual

TSharedRef < ...

 

GetDefaultValueWidget()

Build the widget we should put into the 'default value' space, shown when nothing connected

Classes

Name

Description

Public struct

FArguments

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback