Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FMeshDescriptionToDynamicMesh
Description
Set an optional mapping from mesh description polygon group to dynamic mesh material indices; if unset, an identity map is assumed
Note: If bUseCompactedPolygonGroupIDValues is true, this remapping applies after the compact step so this mapping is a Section Index -> Material Index map for Static Mesh assets.
| Name | SetPolygonGroupToMaterialIndexMap |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshConversion/Public/MeshDescriptionToDynamicMesh.h |
| Include Path | #include "MeshDescriptionToDynamicMesh.h" |
void SetPolygonGroupToMaterialIndexMap
(
const TArray < int32 > & PolygonGroupToMaterialIndexMapIn
)