UPreviewMesh::GetMaterials

Get the entire materials array from the preview mesh. Appends to OutMaterials without clearing it.

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/PreviewMesh.h

Include

#include "PreviewMesh.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/PreviewMesh.cpp

Syntax

void GetMaterials
(
    TArray< UMaterialInterface * > & OutMaterials
) const

Remarks

Get the entire materials array from the preview mesh. Appends to OutMaterials without clearing it.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss