FMeshRenderDecomposition::BuildMaterialDecomposition

Build decomposition with one group for each MaterialID of mesh

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryFramework

Header

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

Include

#include "Components/MeshRenderDecomposition.h"

Source

/Engine/Source/Runtime/GeometryFramework/Private/Components/MeshRenderDecomposition.cpp

Syntax

static void BuildMaterialDecomposition
(
    const FDynamicMesh3 * Mesh,
    const FComponentMaterialSet * MaterialSet,
    FMeshRenderDecomposition & Decomp
)

Remarks

Build decomposition with one group for each MaterialID of mesh