UWidgetBlueprintLibrary::GetDynamicMaterial

Gets the material that allows changes to parameters at runtime.

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 UMaterialInstanceDynamic * GetDynamicMaterial
(
    FSlateBrush & Brush
)

Remarks

Gets the material that allows changes to parameters at runtime. The brush must already have a material assigned to it, if it does it will automatically be converted to a MID.

Returns

A material that supports dynamic input from the game.

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