FSlateBrush::GetResourceObject

Gets the [UObject](API\Runtime\CoreUObject\UObject\UObject) that represents the brush resource, if any.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateBrush.h

Include

#include "Styling/SlateBrush.h"

Syntax

UObject * GetResourceObject() const

Remarks

Gets the UObject that represents the brush resource, if any.

The object may be a UMaterialInterface or a UTexture.

Returns

The resource object, or nullptr if it is not set.

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