FMeshRenderDecomposition::BuildChunkedDecomposition

Build per-material decomposition, and then split each of those into chunks of at most MaxChunkSize (actual chunk sizes will be highly variable and some may be very small...)

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/MeshRenderDecomposition.h

Include

#include "Drawing/MeshRenderDecomposition.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/MeshRenderDecomposition.cpp

Syntax

static void BuildChunkedDecomposition
(
    FDynamicMesh3 * Mesh,
    const FComponentMaterialSet * MaterialSet,
    FMeshRenderDecomposition & Decomp,
    int32 MaxChunkSize
)

Remarks

Build per-material decomposition, and then split each of those into chunks of at most MaxChunkSize (actual chunk sizes will be highly variable and some may be very small...)

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