Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Animation
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
| Type | Name | Description | |
|---|---|---|---|
FWidgetMaterialHandle
(
FName InTypeName, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UMaterialInterface * | GetMaterial () |
Gets the currently bound material | |
| bool | IsValid () |
||
| void | SetMaterial
(
UMaterialInterface* InMaterial, |
Sets the new bound material |