Navigation
API > API/Runtime > API/Runtime/SlateCore
This represents an undefined brush. FSlateNoResource is a valid brush which means don't render anything. FSlateOptionalBrush means let the widget decide what to do if the brush is unset. Widgets that don't check for the brush being unspecified will draw nothing
| Name | FSlateOptionalBrush |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Brushes/SlateNoResource.h |
| Include Path | #include "Brushes/SlateNoResource.h" |
Syntax
struct FSlateOptionalBrush : public FSlateBrush
Inheritance Hierarchy
- FSlateBrushFixLayout → FSlateBrush → FSlateOptionalBrush
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateOptionalBrush
(
const UE::Slate::FDeprecateVector2DParameter& InImageSize |
Brushes/SlateNoResource.h |