Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UMeshComponent
- UPrimitiveComponent::GetUsedMaterials()
- UMeshComponent::GetUsedMaterials()
- UWaterMeshComponent::GetUsedMaterials()
- PAPER2UPaperSpriteComponent::GetUsedMaterials()
- UPointCloudComponent::GetUsedMaterials()
- UHeterogeneousVolumeComponent::GetUsedMaterials()
- UWidgetComponent::GetUsedMaterials()
- PAPER2UPaperFlipbookComponent::GetUsedMaterials()
- UGroomComponent::GetUsedMaterials()
- UBaseDynamicMeshComponent::GetUsedMaterials()
- UGeometryCollectionComponent::GetUsedMaterials()
- UStaticMeshComponent::GetUsedMaterials()
- UDebugSkelMeshComponent::GetUsedMaterials()
- USkinnedMeshComponent::GetUsedMaterials()
- UDebugSkelMeshComponent::GetUsedMaterials()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h |
| Include | #include "Components/MeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/MeshComponent.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. |