Navigation
API > API/Runtime > API/Runtime/SlateCore
A color brush. Draws a box with no margins that only has a color applied to it
| Name | FSlateColorBrush |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Brushes/SlateColorBrush.h |
| Include Path | #include "Brushes/SlateColorBrush.h" |
Syntax
struct FSlateColorBrush : public FSlateBrush
Inheritance Hierarchy
- FSlateBrushFixLayout → FSlateBrush → FSlateColorBrush
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateColorBrush
(
const FLinearColor& InColor |
Creates and initializes a new instance with the specified linear color. | Brushes/SlateColorBrush.h | |
FSlateColorBrush
(
const FColor& InColor |
Creates and initializes a new instance with the specified color value. | Brushes/SlateColorBrush.h | |
FSlateColorBrush
(
const TSharedRef< FLinearColor >& InColor |
Creates and initializes a new instance with the specified shared color. | Brushes/SlateColorBrush.h | |
FSlateColorBrush
(
const FSlateColor& InColor |
Creates and initializes a new instance with the specified shared color. | Brushes/SlateColorBrush.h |