Navigation
API > API/Runtime > API/Runtime/StaticMeshDescription > API/Runtime/StaticMeshDescription/FStaticMeshOperations
Description
Reorder the destination mesh description polygon groups in the same order has the source mesh description polygon groups. This function use the imported material name to reorder the section.
Note: The material count MUST be the same for both the source and the destination. It will not reorder anything if the count is different.
| Name | ReorderMeshDescriptionPolygonGroups |
| Type | function |
| Header File | /Engine/Source/Runtime/StaticMeshDescription/Public/StaticMeshOperations.h |
| Include Path | #include "StaticMeshOperations.h" |
| Source | /Engine/Source/Runtime/StaticMeshDescription/Private/StaticMeshOperations.cpp |
static void ReorderMeshDescriptionPolygonGroups
(
const FMeshDescription & SourceMeshDescription,
FMeshDescription & DestinationMeshDescription,
TOptional < const FString > UnmatchMaterialNameWarning,
TOptional < const FString > DestinationPolygonGroupCountDifferFromSource_Msg
)