/Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshDecompositionFunctions.h
Create a new Mesh for each MaterialID of TargetMesh. New meshes are drawn from MeshPool if it is provided, otherwise newUDynamicMeshinstances are allocated
static [UDynamicMesh](API\Runtime\GeometryFramework\UDynamicMesh) * SplitMeshByMaterialIDs ( [UDynamicMesh](API\Runtime\GeometryFramework\UDynamicMesh) * TargetMesh, [TArray](API\Runtime\Core\Containers\TArray)< [UDynamicMesh](API\Runtime\GeometryFramework\UDynamicMesh) * > & ComponentMeshes, [TArray](API\Runtime\Core\Containers\TArray)< int > & ComponentMaterialIDs, [UDynamicMeshPool](API\Runtime\GeometryFramework\UDynamicMeshPool) * MeshPool, [UGeometryScriptDebug](API\Plugins\GeometryScriptingCore\GeometryScript\UGeometryScriptDebug) * Debug )