UPreviewMesh::GetNumMaterials

Get number of materials in the preview mesh (base materials, i.e., not including override material)

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

int32 GetNumMaterials() const

Remarks

Get number of materials in the preview mesh (base materials, i.e., not including override material)

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