Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SColorBlock
| Name | FArguments |
| Type | struct |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Colors/SColorBlock.h |
| Include Path | #include "Widgets/Colors/SColorBlock.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SColorBlock >
Inheritance Hierarchy
- FSlateBaseNamedArgs → TSlateBaseNamedArgs → SColorBlock::FArguments
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArguments() |
Widgets/Colors/SColorBlock.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| WidgetArgsType | FArguments | Widgets/Colors/SColorBlock.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
WidgetArgsType & AlphaBackgroundBrush
(
const TAttribute< const FSlateBrush* >& InAttribute |
Background to display for when there is a color with transparency. Irrelevant if ignoring alpha | Widgets/Colors/SColorBlock.h | |
WidgetArgsType & AlphaDisplayMode
(
const TAttribute< EColorBlockAlphaDisplayMode >& InAttribute |
How the color block displays color and opacity | Widgets/Colors/SColorBlock.h | |
WidgetArgsType & Color
(
const TAttribute< FLinearColor >& InAttribute |
The color to display for this color block | Widgets/Colors/SColorBlock.h | |
WidgetArgsType & ColorIsHSV
(
const TAttribute< bool >& InAttribute |
Whether the color displayed is HSV or not | Widgets/Colors/SColorBlock.h | |
WidgetArgsType & CornerRadius
(
const TAttribute< FVector4 >& InAttribute |
Rounding to apply to the corners of the block | Widgets/Colors/SColorBlock.h | |
WidgetArgsType & OnMouseButtonDown
(
const FPointerEventHandler& InDelegate |
A handler to activate when the mouse is pressed. | Widgets/Colors/SColorBlock.h | |
WidgetArgsType & ShowBackgroundForAlpha
(
const TAttribute< bool >& InAttribute |
Whether to display a background for viewing opacity. Irrelevant if ignoring alpha | Widgets/Colors/SColorBlock.h | |
WidgetArgsType & Size
(
const TAttribute< FVector2D >& InAttribute |
How big should this color block be? | Widgets/Colors/SColorBlock.h | |
WidgetArgsType & UseSRGB
(
const TAttribute< bool >& InAttribute |
Whether to display sRGB color | Widgets/Colors/SColorBlock.h |