/Engine/Source/Runtime/GeometryFramework/Public/Components/DynamicMeshComponent.h
Set new list of Materials for the Mesh. Dynamic Mesh Component does not have Slot Names, so the size of the Material Set should be the same as the number of different Material IDs on the mesh MaterialID attribute
void ConfigureMaterialSet ( const [TArray](API\Runtime\Core\Containers\TArray)< [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * > & NewMaterialSet )