UWidgetBlueprintLibrary::SetBrushResourceToMaterial

Sets the resource on a brush to be 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 void SetBrushResourceToMaterial
(
    FSlateBrush & Brush,
    UMaterialInterface * Material
)

Remarks

Sets the resource on a brush to be a Material.