Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UWidgetComponent
- UPrimitiveComponent::GetUsedMaterials()
- UMeshComponent::GetUsedMaterials()
- UWidgetComponent::GetUsedMaterials()
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 |
virtual void GetUsedMaterials
&40;
TArray< UMaterialInterface &42; > & OutMaterials,
bool bGetDebugMaterials
&41; const
Remarks
Retrieves the materials used in this component
Parameters
| Name | Description |
|---|---|
| OutMaterials | The list of used materials. |