UBaseDynamicMeshComponent::GetUsedMaterials

Retrieves the materials used in this component

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::GetUsedMaterials()

UMeshComponent::GetUsedMaterials()

UBaseDynamicMeshComponent::GetUsedMaterials()

References

Module

GeometryFramework

Header

/Engine/Source/Runtime/GeometryFramework/Public/Components/BaseDynamicMeshComponent.h

Include

#include "Components/BaseDynamicMeshComponent.h"

Source

/Engine/Source/Runtime/GeometryFramework/Private/Components/BaseDynamicMeshComponent.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.