Navigation
API > API/Editor > API/Editor/GraphEditor
| Name | SGraphPinColor |
| Type | class |
| Header File | /Engine/Source/Editor/GraphEditor/Public/KismetPins/SGraphPinColor.h |
| Include Path | #include "KismetPins/SGraphPinColor.h" |
Syntax
class SGraphPinColor : public SGraphPin
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SBorder → SGraphPin → SGraphPinColor
- FSlateControlledConstruction → SWidget → SCompoundWidget → SBorder → SGraphPin → SGraphPinColor
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DefaultValueWidget | TSharedPtr< SWidget > | KismetPins/SGraphPinColor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
KismetPins/SGraphPinColor.h | ||
FLinearColor GetColor() |
Return the current color value stored in the pin | KismetPins/SGraphPinColor.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReply OnColorBoxClicked
(
const FGeometry& MyGeometry, |
Called when clicking on the color button | KismetPins/SGraphPinColor.h | |
void OnColorCommitted
(
FLinearColor color |
Called when the color picker commits a color value | KismetPins/SGraphPinColor.h |
Overridden from SGraphPin
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > GetDefaultValueWidget() |
Build the widget we should put into the 'default value' space, shown when nothing connected | KismetPins/SGraphPinColor.h |