UWidgetComponent::GetUsedMaterials

Retrieves the materials used in this component

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h

Include

#include "Components/WidgetComponent.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/WidgetComponent.cpp

Syntax

virtual void GetUsedMaterials
(
    TArray< UMaterialInterface * > & OutMaterials,
    bool bGetDebugMaterials
) const

Remarks

Retrieves the materials used in this component

Parameters

Parameter

Description

OutMaterials

The list of used materials.