UPrimitiveComponent::GetUsedMaterials

Retrieves the materials used in this component

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::GetUsedMaterials()

ULandscapeGizmoRenderComponent::GetUsedMaterials()

UWaterMeshComponent::GetUsedMaterials()

UGizmoBoxComponent::GetUsedMaterials()

UBrushComponent::GetUsedMaterials()

UGizmoRectangleComponent::GetUsedMaterials()

UVectorFieldComponent::GetUsedMaterials()

UMeshComponent::GetUsedMaterials()

UWaterMeshComponent::GetUsedMaterials()

PAPER2UPaperSpriteComponent::GetUsedMaterials()

UPointCloudComponent::GetUsedMaterials()

UWidgetComponent::GetUsedMaterials()

PAPER2UPaperFlipbookComponent::GetUsedMaterials()

UGroomComponent::GetUsedMaterials()

UBaseDynamicMeshComponent::GetUsedMaterials()

UStaticMeshComponent::GetUsedMaterials()

UDebugSkelMeshComponent::GetUsedMaterials()

USkinnedMeshComponent::GetUsedMaterials()

UDebugSkelMeshComponent::GetUsedMaterials()

UMaterialBillboardComponent::GetUsedMaterials()

PAPER2UPaperSpriteComponent::GetUsedMaterials()

UPointCloudComponent::GetUsedMaterials()

UModelComponent::GetUsedMaterials()

UImagePlateComponent::GetUsedMaterials()

UWidgetComponent::GetUsedMaterials()

UVirtualHeightfieldMeshComponent::GetUsedMaterials()

UMRMeshComponent::GetUsedMaterials()

UTextRenderComponent::GetUsedMaterials()

PAPER2UPaperFlipbookComponent::GetUsedMaterials()

UNiagaraComponent::GetUsedMaterials()

UGroomComponent::GetUsedMaterials()

UBaseDynamicMeshComponent::GetUsedMaterials()

UStaticMeshComponent::GetUsedMaterials()

UDebugSkelMeshComponent::GetUsedMaterials()

ULandscapeComponent::GetUsedMaterials()

USkinnedMeshComponent::GetUsedMaterials()

UDebugSkelMeshComponent::GetUsedMaterials()

UParticleSystemComponent::GetUsedMaterials()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

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.