UWidgetBlueprintLibrary::GetBrushResourceAsMaterial

Gets the brush resource as a material.

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 UMaterialInterface * GetBrushResourceAsMaterial
(
    const FSlateBrush & Brush
)

Remarks

Gets the brush resource as a material.