Navigation
API > API/Runtime > API/Runtime/AppFramework > API/Runtime/AppFramework/SColorPicker
| Name | FArguments |
| Type | struct |
| Header File | /Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SColorPicker.h |
| Include Path | #include "Widgets/Colors/SColorPicker.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SColorPicker >
Inheritance Hierarchy
- FSlateBaseNamedArgs → TSlateBaseNamedArgs → SColorPicker::FArguments
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArguments() |
Widgets/Colors/SColorPicker.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| WidgetArgsType | FArguments | Widgets/Colors/SColorPicker.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _TargetColorChannels | TArray< FColorChannels > | An array of color pointer structs this color picker targets Only to keep compatibility with wx. | Widgets/Colors/SColorPicker.h | |
| _TargetFColors | TArray< FColor * > | An array of color pointers this color picker targets | Widgets/Colors/SColorPicker.h | |
| _TargetLinearColors | TArray< FLinearColor * > | An array of linear color pointers this color picker targets | Widgets/Colors/SColorPicker.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
WidgetArgsType & ClampValue
(
bool InArg |
The LinearColor is expected to be converted to a FColor, set the clamp channel value. | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & ColorWheelBrush
(
const TAttribute< const FSlateBrush* >& InAttribute |
ColorWheelBrush to use | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & DisplayGamma
(
const TAttribute< float >& InAttribute |
Sets the display Gamma setting - used to correct colors sampled from the screen | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & DisplayInlineVersion
(
bool InArg |
If true, this color picker will be a stripped down version of the full color picker | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & ExpandAdvancedSection
(
bool InArg |
If true, the Advanced section will be expanded, regardless of the remembered state | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & OnColorCommitted
(
const FOnLinearColorValueChanged& InDelegate |
The event called when the color is committed | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & OnColorPickerCancelled
(
const FOnColorPickerCancelled& InDelegate |
The event called when the color picker cancel button is pressed | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & OnColorPickerWindowClosed
(
const FOnWindowClosed& InDelegate |
The event called when the color picker parent window is closed | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & OnInteractivePickBegin
(
const FSimpleDelegate& InDelegate |
The event called when a slider drag, color wheel drag or dropper grab starts | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & OnInteractivePickEnd
(
const FSimpleDelegate& InDelegate |
The event called when a slider drag, color wheel drag or dropper grab finishes | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & OnlyRefreshOnMouseUp
(
const TAttribute< bool >& InAttribute |
Prevents immediate refreshs for performance reasons. | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & OnlyRefreshOnOk
(
const TAttribute< bool >& InAttribute |
Prevents multiple refreshes when requested. | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & OptionalOwningDetailsView
(
const TAttribute< TSharedPtr< SWidget > >& InAttribute |
Allows a details view to own the color picker so refreshing another details view doesn't close it | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & OverrideColorPickerCreation
(
bool InArg |
If true, this color picker will have non-standard creation behavior | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & ParentWindow
(
const TAttribute< TSharedPtr< SWindow > >& InAttribute |
A pointer to the parent window | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & PreColorCommitted
(
const FOnLinearColorValueChanged& InDelegate |
The event called before the color is committed | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & sRGBOverride
(
TOptional< bool > InArg |
Overrides the checkbox value of the sRGB option. | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & TargetColorAttribute
(
const TAttribute< FLinearColor >& InAttribute |
The color that is being targeted as a TAttribute | Widgets/Colors/SColorPicker.h | |
WidgetArgsType & TargetColorChannels
(
TArray< FColorChannels > InArg |
Widgets/Colors/SColorPicker.h | ||
| Widgets/Colors/SColorPicker.h | |||
WidgetArgsType & TargetLinearColors
(
TArray< FLinearColor* > InArg |
Widgets/Colors/SColorPicker.h | ||
WidgetArgsType & UseAlpha
(
const TAttribute< bool >& InAttribute |
Whether the ability to pick the alpha value is enabled | Widgets/Colors/SColorPicker.h |