Module |
|
Header |
/Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SColorPicker.h |
Include |
#include "Widgets/Colors/SColorPicker.h" |
class SColorPicker : public SCompoundWidget
Class for placing a color picker. If all you need is a standalone color picker, use the functions OpenColorPicker and DestroyColorPicker, since they hold a static instance of the color picker.
Name | Description | |
---|---|---|
|
~SColorPicker() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
ApplyNewTargetColor ( |
||
|
BackupColors() |
Backup all the colors that are being modified |
|
|
BeginAnimation ( |
||
|
Construct ( |
Construct the widget |
|
|
CycleMode() |
Cycles the color picker's mode. |
|
|
DiscardColor() |
Calls the user defined delegate for when the color changes are discarded |
|
|
GenerateDefaultColorPickerContent ( |
||
|
GenerateInlineColorPickerContent() |
||
|
GetCurrentColor() |
||
|
TSharedPtr< ... |
GetOptionalOwningDetailsView() |
Gets the (optionally set) owning details view of the current color picker |
|
HideSmallTrash() |
||
|
TSharedRef< ... |
MakeColorPreviewBox() |
Creates the color preview box widget. |
|
TSharedRef< ... |
MakeColorSlider ( |
Creates a color slider widget for the specified channel. |
|
TSharedRef< ... |
MakeColorSpinBox ( |
Creates a color spin box widget for the specified channel. |
|
RestoreColors() |
Restore all the modified colors to their original state |
|
|
SetColors ( |
Set all the colors to this new color |
|
|
SetNewTargetColorHSV ( |
||
|
SetNewTargetColorRGB ( |
Sets new color in ether RGB or HSV |
|
|
ShowSmallTrash() |
||
|
UpdateColorPick() |
||
|
UpdateColorPickMouseUp() |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
FOnColorPickerCreationOverride |
Delegate to override color picker creation behavior |
FOnColorPickerDestructionOverride |
Delegate to override color picker destruction behavior |
Name |
Description |
---|---|
ColorThemesViewer |
A static pointer to the global color themes viewer |
DEFAULT_WINDOW_SIZE |
A default window size for the color picker which looks nice |
MAX_ALLOWED_UPDATE_TIME |
The max time allowed for updating before we shut off auto-updating |
OnColorPickerDestroyOverride |
|
OnColorPickerNonModalCreateOverride |