Navigation
API > API/Runtime > API/Runtime/UMG
Handle to a widget material for easy getting and setting of the material. Not designed to be stored
| Name | FWidgetMaterialHandle |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Animation/WidgetMaterialTrackUtilities.h |
| Include Path | #include "Animation/WidgetMaterialTrackUtilities.h" |
Syntax
class FWidgetMaterialHandle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Animation/WidgetMaterialTrackUtilities.h | |||
FWidgetMaterialHandle
(
FName InTypeName, |
Animation/WidgetMaterialTrackUtilities.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | void * | Pointer to the struct data holding the material | Animation/WidgetMaterialTrackUtilities.h | |
| TypeName | FName | Struct typename for that the data is pointing to | Animation/WidgetMaterialTrackUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialInterface * GetMaterial() |
Gets the currently bound material | Animation/WidgetMaterialTrackUtilities.h | |
bool IsValid() |
Animation/WidgetMaterialTrackUtilities.h | ||
void SetMaterial
(
UMaterialInterface* InMaterial, |
Sets the new bound material | Animation/WidgetMaterialTrackUtilities.h |