Navigation
API > API/Runtime > API/Runtime/AppFramework
| Name | FColorPickerArgs |
| Type | struct |
| Header File | /Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SColorPicker.h |
| Include Path | #include "Widgets/Colors/SColorPicker.h" |
Syntax
struct FColorPickerArgs
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | Widgets/Colors/SColorPicker.h | ||
PRAGMA_DISABLE_DEPRECATION_WARNINGS FColorPickerArgs
(
const FColorPickerArgs& |
Widgets/Colors/SColorPicker.h | ||
| Widgets/Colors/SColorPicker.h | |||
FColorPickerArgs
(
FLinearColor InInitialColor, |
Widgets/Colors/SColorPicker.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClampValue | bool | Set true if values should be max to 1.0. HDR values may go over 1.0. | Widgets/Colors/SColorPicker.h | |
| bExpandAdvancedSection | bool | Whether to automatically expand the Advanced section. | Widgets/Colors/SColorPicker.h | |
| bIsModal | bool | Whether or not the new color picker is modal. | Widgets/Colors/SColorPicker.h | |
| bOnlyRefreshOnMouseUp | bool | Whether to disable the refresh except on mouse up for performance reasons. | Widgets/Colors/SColorPicker.h | |
| bOnlyRefreshOnOk | bool | Whether to disable the refresh until the picker closes. | Widgets/Colors/SColorPicker.h | |
| bOpenAsMenu | bool | Whether to open the color picker as a menu window. | Widgets/Colors/SColorPicker.h | |
| bUseAlpha | bool | Whether or not to enable the alpha slider. | Widgets/Colors/SColorPicker.h | |
| ColorArray | const TArray< FColor * > * | An array of FColors to target. | Widgets/Colors/SColorPicker.h | |
| ColorChannelsArray | const TArray< FColorChannels > * | An array of FColorChannels to target. | Widgets/Colors/SColorPicker.h | |
| DisplayGamma | TAttribute< float > | The current display gamma used to correct colors picked from the display. | Widgets/Colors/SColorPicker.h | |
| InitialColor | FLinearColor | The initial color set on the color picker. | Widgets/Colors/SColorPicker.h | |
| InitialColorOverride | FLinearColor | Overrides the initial color set on the color picker. | Widgets/Colors/SColorPicker.h | |
| LinearColorArray | const TArray< FLinearColor * > * | An array of FLinearColors to target. | Widgets/Colors/SColorPicker.h | |
| OnColorCommitted | FOnLinearColorValueChanged | A delegate to be called when the color changes. | Widgets/Colors/SColorPicker.h | |
| OnColorPickerCancelled | FOnColorPickerCancelled | A delegate to be called when the color picker cancel button is pressed | Widgets/Colors/SColorPicker.h | |
| OnColorPickerWindowClosed | FOnWindowClosed | A delegate to be called when the color picker window closes. | Widgets/Colors/SColorPicker.h | |
| OnInteractivePickBegin | FSimpleDelegate | A delegate to be called when a slider drag, color wheel drag or dropper grab starts | Widgets/Colors/SColorPicker.h | |
| OnInteractivePickEnd | FSimpleDelegate | A delegate to be called when a slider drag, color wheel drag or dropper grab finishes | Widgets/Colors/SColorPicker.h | |
| OptionalOwningDetailsView | TSharedPtr< SWidget > | Allows a details view to own the color picker so refreshing another details view doesn't close it | Widgets/Colors/SColorPicker.h | |
| ParentWidget | TSharedPtr< SWidget > | The parent for the new color picker window | Widgets/Colors/SColorPicker.h | |
| PreColorCommitted | FOnLinearColorValueChanged | A delegate to be called before the color change is committed. | Widgets/Colors/SColorPicker.h | |
| sRGBOverride | TOptional< bool > | If set overrides the global option for the desired setting of sRGB mode. | Widgets/Colors/SColorPicker.h |