UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SColorPicker.h File Reference

Go to the source code of this file.

Classes

struct  FColorChannels
 
class  SColorPicker
 
struct  FColorPickerArgs
 

Enumerations

enum class  EColorPickerChannels {
  Red , Green , Blue , Alpha ,
  Hue , Saturation , Value
}
 
enum class  EColorPickerModes { Spectrum , Wheel }
 
enum class  EColorPickerHexMode { SRGB , Linear }
 

Functions

 DECLARE_DELEGATE_OneParam (FOnColorPickerCancelled, FLinearColor)
 
APPFRAMEWORK_API TSharedPtr< SColorPickerGetColorPicker ()
 
APPFRAMEWORK_API bool OpenColorPicker (const FColorPickerArgs &Args)
 
APPFRAMEWORK_API void DestroyColorPicker ()
 

Enumeration Type Documentation

◆ EColorPickerChannels

enum class EColorPickerChannels
strong

Enumerates color channels (do not reorder).

Enumerator
Red 
Green 
Blue 
Alpha 
Hue 
Saturation 
Value 

◆ EColorPickerHexMode

enum class EColorPickerHexMode
strong

Enumerates hexadecimal text modes.

Enumerator
SRGB 
Linear 

◆ EColorPickerModes

enum class EColorPickerModes
strong

Enumerates color picker modes.

Enumerator
Spectrum 
Wheel 

Function Documentation

◆ DECLARE_DELEGATE_OneParam()

DECLARE_DELEGATE_OneParam ( FOnColorPickerCancelled  ,
FLinearColor   
)

Called when the color picker cancel button is pressed

◆ DestroyColorPicker()

APPFRAMEWORK_API void DestroyColorPicker ( )

Destroy the current color picker. Necessary if the values the color picker currently targets become invalid.

Destroys the current color picker. Necessary if the values the color picker currently targets become invalid.

◆ GetColorPicker()

APPFRAMEWORK_API TSharedPtr< SColorPicker > GetColorPicker ( )

Get a pointer to the static color picker, or nullptr if it does not exist.

◆ OpenColorPicker()

APPFRAMEWORK_API bool OpenColorPicker ( const FColorPickerArgs Args)

Open up the static color picker, destroying any previously existing one.