FColorPickerArgs

Windows
MacOS
Linux

References

Module

AppFramework

Header

/Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SColorPicker.h

Include

#include "Widgets/Colors/SColorPicker.h"

Syntax

struct FColorPickerArgs

Variables

Name Description

Public variable

bool

 

bExpandAdvancedSection

Whether to automatically expand the Advanced section.

Public variable

bool

 

bIsModal

Whether or not the new color picker is modal.

Public variable

bool

 

bOnlyRefreshOnMouseUp

Whether to disable the refresh except on mouse up for performance reasons.

Public variable

bool

 

bOnlyRefreshOnOk

Whether to disable the refresh until the picker closes.

Public variable

bool

 

bOpenAsMenu

Whether to open the color picker as a menu window.

Public variable

bool

 

bUseAlpha

Whether or not to enable the alpha slider.

Public variable

const TArray< F...

 

ColorArray

An array of FColors to target.

Public variable

const TArray< F...

 

ColorChannelsArray

An array of FColorChannels to target.

Public variable

TAttribute< flo...

 

DisplayGamma

The current display gamma used to correct colors picked from the display.

Public variable

FLinearColor

 

InitialColorOverride

Overrides the initial color set on the color picker.

Public variable

const TArray< F...

 

LinearColorArray

An array of FLinearColors to target.

Public variable

FOnLinearColorV...

 

OnColorCommitted

A delegate to be called when the color changes.

Public variable

FOnColorPickerC...

 

OnColorPickerCancelled

A delegate to be called when the color picker cancel button is pressed

Public variable

FOnWindowClosed

 

OnColorPickerWindowClosed

A delegate to be called when the color picker window closes.

Public variable

FSimpleDelegate

 

OnInteractivePickBegin

A delegate to be called when a slider drag, color wheel drag or dropper grab starts

Public variable

FSimpleDelegate

 

OnInteractivePickEnd

A delegate to be called when a slider drag, color wheel drag or dropper grab finishes

Public variable

TSharedPtr< SWi...

 

OptionalOwningDetailsView

Allows a details view to own the color picker so refreshing another details view doesn't close it

Public variable

TSharedPtr< SWi...

 

ParentWidget

The parent for the new color picker window

Public variable

FOnLinearColorV...

 

PreColorCommitted

A delegate to be called before the color change is committed.

Public variable

TOptional< bool...

 

sRGBOverride

If set overrides the global option for the desired setting of sRGB mode.

Constructors

Name Description

Public function

FColorPickerArgs()

Default constructor.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss