Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor > API/Plugins/MeshPartitionEditor/UMeshPartitionEditorComponent
Description
Runs the full synchronous post-build pipeline on a compiled section: PrepareCompiledSections → ApplyChannels → PostBuildSectionMesh → Transformers (wait) → PostProcessSection. Resolves Definition and BuildVariant from the section's BuildInfo internally. Callers must ensure the section's BuildInfo is up-to-date before calling.
| Name | ApplyBuiltMeshToSection |
| Type | function |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionEditorComponent.h |
| Include Path | #include "MeshPartitionEditorComponent.h" |
| Source | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Private/MeshPartitionEditorComponent.cpp |
void ApplyBuiltMeshToSection
(
MeshPartition::ACompiledSection * InSection,
TSharedPtr < const MeshPartition::FMeshData > InMesh,
const MeshPartition::FSectionChannels & InChannels,
const MeshPartition::FModifierGroup & InModifierGroup
)
Parameters
| Name | Remarks |
|---|---|
| InSection | The section to finalize. |
| InMesh | The built mesh data (shared ownership for transformer pipeline). |
| InChannels | Pre-built channel data (texture, texcoord metrics, table). |
| InModifierGroup | The modifier group for this section. |