UWidgetBlueprintLibrary::SetBrushResourceToTexture

Sets the resource on a brush to be a [UTexture2D](API\Runtime\Engine\Engine\UTexture2D).

Windows
MacOS
Linux

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

Syntax

static void SetBrushResourceToTexture
(
    FSlateBrush & Brush,
    UTexture2D * Texture
)

Remarks

Sets the resource on a brush to be a UTexture2D.

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