| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Editor/DetailCustomizations/Public/Customizations/ColorStructCustomization.h |
Include |
#include "Customizations/ColorStructCustomization.h" |
class FColorStructCustomization : public FMathStructCustomization
Base class for color struct customization (FColor,FLinearColor).
Name | Description | ||
---|---|---|---|
|
bDontUpdateWhileEditing |
The value won;t be updated while editing |
|
|
bIgnoreAlpha |
True if the property wants to ignore the alpha component |
|
|
bIsInlineColorPickerVisible |
True if the inline color picker is visible |
|
|
bIsInteractive |
True if the user is performing an interactive color change |
|
|
bIsLinearColor |
True if the property is a linear color property |
|
|
TSharedPtr< SWi... |
ColorPickerParentWidget |
Cached widget for the color picker to use as a parent |
|
SavedPreColorPickerColors |
Saved per struct colors in case the user clicks cancel in the color picker |
|
|
sRGBOverride |
Overrides the default state of the sRGB check box |
|
|
TSharedPtr< IPr... |
StructPropertyHandle |
Color struct handle |
Name | Description | |
---|---|---|
|
FColorStructCustomization() |
Name | Description | ||
---|---|---|---|
|
CreateColorPicker ( |
Creates a new color picker for interactively selecting the color |
|
|
TSharedRef< ... |
CreateColorWidget ( |
Creates the color widget that when clicked spawns the color picker window. |
|
TSharedRef< ... |
CreateInlineColorPicker ( |
Creates a new color picker for interactively selecting color |
|
FPropertyAcc... |
GetColorAsLinear ( |
Get the color used by this struct as a linear color value |
|
GetMultipleValuesTextVisibility() |
Does this struct have multiple values? |
|
|
TSharedRef< ... |
MakeInstance() |
|
|
OnColorPickerCancelled ( |
Called when the user clicks cancel in the color picker The values are reset to their original state when this happens |
|
|
OnColorPickerInteractiveBegin() |
Called when the user enters an interactive color change (dragging something in the picker) |
|
|
OnColorPickerInteractiveEnd() |
Called when the user completes an interactive color change (dragging something in the picker) |
|
|
OnColorPickerWindowClosed ( |
Called when the color picker window is clsoed |
|
|
OnGetColorForColorBlock() |
||
|
OnMouseButtonDownColorBlock ( |
Called when the user clicks in the color block (opens inline color picker) |
|
|
OnOpenFullColorPickerClicked() |
Called when the user clicks on the the button to get the full color picker |
|
|
OnSetColorFromColorPicker ( |
Called when the property is set from the color picker |
Name | Description | ||
---|---|---|---|
|
GetSortedChildren ( |
Gets the sorted children for the struct |
|
|
MakeHeaderRow ( |
Makes the header row for the customization |
Name | Description | ||
---|---|---|---|
|
CustomizeHeader ( |
IPropertyTypeCustomization instance |
Name |
Description |
|
---|---|---|
|
FLinearOrSrgbColor |
Stores a linear or srb color without converting between the two. Only one is valid at a time |