Navigation
Unreal Engine C++ API Reference > Runtime > AppFramework > Widgets > Colors > FColorDragDrop
References
Module | AppFramework |
Header | /Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SColorThemes.h |
Include | #include "Widgets/Colors/SColorThemes.h" |
Source | /Engine/Source/Runtime/AppFramework/Private/Widgets/Colors/SColorThemes.cpp |
static TSharedRef< FColorDragDrop > New
&40;
FLinearColor InColor,
bool bSRGB,
bool bUseAlpha,
FSimpleDelegate TrashShowCallback,
FSimpleDelegate TrashHideCallback,
TSharedPtr< SThemeColorBlocksBar > Origin,
int32 OriginPosition
&41;
Remarks
Makes a new FColorDragDrop to hold on to
Parameters
Name | Description |
---|---|
InColor | The color to be dragged and dropped |
bSRGB | Whether the color is sRGB |
bUseAlpha | Whether the colors alpha is important |
TrashShowCallback | Called when this operation is created |
TrashHideCallback | Called when this operation is dropped |
Origin | The SThemeColorBlockBar that this operation is from |
OriginPosition | The position in it's origin that it is from |