FSlateColorBrush

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

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.

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