SGraphPinObject

Unreal Engine C++ API Reference > Editor > GraphEditor > KismetPins

Inheritance Hierarchy

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/KismetPins/SGraphPinObject.h
Include #include "KismetPins/SGraphPinObject.h"

Syntax

class SGraphPinObject : public [SGraphPin](API\Editor\GraphEditor\SGraphPin)  

Variables

Type Name Description
TSharedPtr< cla... AssetPickerAnchor Menu anchor for opening and closing the asset picker
TSharedPtr< SBu... BrowseButton  
FAssetData CachedAssetData Cached AssetData of object selected
TSharedPtr< SBu... UseButton Object manipulator buttons.

Functions

Type Name Description
bool AllowSelfPinWidget () Allow self pin widget
void Construct ( const FArguments& InArgs, UEdGraphPin* InGraphPinObj )  
TSharedRef< ... GenerateAssetPicker () Generate asset picker window
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
FText GetDefaultComboText () Get default text for the picker combo
FText GetObjectName () Get name of the object
FText GetObjectToolTip () Get text tooltip for object
FString GetObjectToolTipAsString () Get text tooltip for object
FOnClicked GetOnBrowseButtonDelegate () Delegate to be called when the browse for item button is clicked
FOnClicked GetOnUseButtonDelegate () Delegate to be called when the use current selected item in asset browser button is clicked
FText GetValue () Get string value for object
void OnAssetEnterPressedInPicker ( const TArray< FAssetData >& InSele... ) Called when enter is pressed when items are selected in the picker window
void OnAssetSelectedFromPicker ( const FAssetData& AssetData ) Called to validate selection from picker window
FReply OnClickBrowse () Clicked Browse button
FReply OnClickUse () Clicked Use button
FSlateColor OnGetComboForeground () Combo Button Color and Opacity delegate
FText OnGetComboTextValue () Used to update the combo button text
FSlateColor OnGetWidgetBackground () Button Color and Opacity delegate
FSlateColor OnGetWidgetForeground () Button Color and Opacity delegate
bool ShouldDisplayAsSelfPin () True if this specific pin should be treated as a self pin

Overridden from SGraphPin

Type Name Description
bool DoesWidgetHandleSettingEditingEnabled () If true the graph pin subclass is responsible for setting the IsEnabled delegates for the aspects it cares about.
TSharedRef< ... GetDefaultValueWidget () Build the widget we should put into the 'default value' space, shown when nothing connected

Classes

Type Name Description
Public struct FArguments  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library