SGraphPinColor

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GraphEditor

Header

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

Include

#include "KismetPins/SGraphPinColor.h"

Syntax

class SGraphPinColor : public SGraphPin

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    UEdGraphPin* InGraphPinObj
)

Public function Const

FLinearColor

 

GetColor()

Return the current color value stored in the pin

Protected function

FReply

 

OnColorBoxClicked

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

Called when clicking on the color button

Protected function

void

 

OnColorCommitted

(
    FLinearColor color
)

Called when the color picker commits a color value

Overridden from SGraphPin

Name Description

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

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