FSlateOptionalBrush

This represents an undefined brush.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FSlateBrush

FSlateOptionalBrush

References

Module

SlateCore

Header

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

Include

#include "Brushes/SlateNoResource.h"

Syntax

struct FSlateOptionalBrush : public FSlateBrush

Remarks

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

Constructors

Name Description

Public function

FSlateOptionalBrush

(
    const FVector2D& InImageSize
)