FSlateBrush::SetResourceObject

Sets the [UObject](API\Runtime\CoreUObject\UObject\UObject) that represents the brush resource.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Styling/SlateBrush.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Styling/SlateBrush.cpp

Syntax

void SetResourceObject
(
    class UObject * InResourceObject
)

Remarks

Sets the UObject that represents the brush resource.