Choose your operating system:
Windows
macOS
Linux
| ISlateStyle::GetOptionalBrush()
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Styling/SlateStyle.h |
Include |
#include "Styling/SlateStyle.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Styling/SlateStyleSet.cpp |
virtual const FSlateBrush * GetOptionalBrush
(
const FName PropertyName,
const ANSICHAR * Specifier,
const FSlateBrush *const DefaultBrush
) const
Just like GetBrush, but returns DefaultBrush instead of the "missing brush" image when the resource is not found.
an FSlateBrush property.
Parameter |
Description |
---|---|
PropertyName |
Name of the property to get |
Specifier |
An optional string to append to the property name |