UWidgetBlueprintLibrary::GetBrushResourceAsTexture2D

Gets the brush resource as a texture 2D.

Choose your operating system:

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 UTexture2D * GetBrushResourceAsTexture2D
(
    const FSlateBrush & Brush
)

Remarks

Gets the brush resource as a texture 2D.