Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UWidgetBlueprintLibrary
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
| Include | #include "Blueprint/WidgetBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Widget|Brush")
static void SetBrushResourceToTexture
(
UPARAM(ref) FSlateBrush & Brush,
UTexture2D * Texture
)
Remarks
Sets the resource on a brush to be a UTexture2D.