FSlateColorBrush

A color brush. Draws a box with no margins that only has a color applied to it

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FSlateBrush

FSlateColorBrush

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Brushes/SlateColorBrush.h

Include

#include "Brushes/SlateColorBrush.h"

Syntax

struct FSlateColorBrush : public FSlateBrush

Remarks

A color brush. Draws a box with no margins that only has a color applied to it

Constructors

Name Description

Public function

FSlateColorBrush

(
    const FLinearColor& InColor
)

Creates and initializes a new instance with the specified linear color.

Public function

FSlateColorBrush

(
    const FColor& InColor
)

Creates and initializes a new instance with the specified color value.

Public function

FSlateColorBrush

(
    const TSharedRef< FLinearColor >& ...
)

Creates and initializes a new instance with the specified shared color.

Public function

FSlateColorBrush

(
    const FSlateColor& InColor
)

Creates and initializes a new instance with the specified shared color.