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