FWidgetMaterialHandle

Handle to a widget material for easy getting and setting of the material. Not designed to be stored

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Animation/WidgetMaterialTrackUtilities.h

Include

#include "Animation/WidgetMaterialTrackUtilities.h"

Syntax

class FWidgetMaterialHandle

Remarks

Handle to a widget material for easy getting and setting of the material. Not designed to be stored

Constructors

Name Description

Public function

FWidgetMaterialHandle()

Public function

FWidgetMaterialHandle

(
    FName InTypeName,
    void* InData
)

Functions

Name Description

Public function Const

UMaterialInt...

 

GetMaterial()

Gets the currently bound material

Public function Const

bool

 

IsValid()

Public function

void

 

SetMaterial

(
    UMaterialInterface* InMaterial,
    UWidget* OwnerWidget
)

Sets the new bound material

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