Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidgetBlueprintLibrary
Description
Gets the resource object on a brush. This could be a UTexture2D or a UMaterialInterface.
| Name | GetBrushResource |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
| Include Path | #include "Blueprint/WidgetBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp |
UFUNCTION (BlueprintPure, Category="Widget|Brush")
static UObject * GetBrushResource
(
const FSlateBrush & Brush
)