FArguments

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateBaseNamedArgs

TSlateBaseNamedArgs

SColorBlock::FArguments

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Colors/SColorBlock.h

Include

#include "Widgets/Colors/SColorBlock.h"

Syntax

struct FArguments : public TSlateBaseNamedArgs< SColorBlock >

Constructors

Name Description

Public function

FArguments()

Functions

Name Description

Public function

WidgetArgsTy...

 

Color

(
    const TAttribute< FLinearColor >& ...
)

The color to display for this color block

Public function

WidgetArgsTy...

 

ColorIsHSV

(
    const TAttribute< bool >& InAttrib...
)

Whether the color displayed is HSV or not

Public function

WidgetArgsTy...

 

IgnoreAlpha

(
    const TAttribute< bool >& InAttrib...
)

Whether to ignore alpha entirely from the input color

Public function

WidgetArgsTy...

 

OnMouseButtonDown

(
    const FPointerEventHandler& InDele...
)

A handler to activate when the mouse is pressed.

Public function

WidgetArgsTy...

 

ShowBackgroundForAlpha

(
    const TAttribute< bool >& InAttrib...
)

Whether to display a background for viewing opacity. Irrelevant if ignoring alpha

Public function

WidgetArgsTy...

 

Size

(
    const TAttribute< FVector2D >& InA...
)

How big should this color block be?

Public function

WidgetArgsTy...

 

UseSRGB

(
    const TAttribute< bool >& InAttrib...
)

Whether to display sRGB color

Typedefs

Name

Description

WidgetArgsType

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