UMRMeshComponent::GetUsedMaterials

Retrieves the materials used in this component

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::GetUsedMaterials()

UMRMeshComponent::GetUsedMaterials()

References

Module

MRMesh

Header

/Engine/Source/Runtime/MRMesh/Public/MRMeshComponent.h

Include

#include "MRMeshComponent.h"

Source

/Engine/Source/Runtime/MRMesh/Private/MRMeshComponent.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.