/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/AssetUtils/StaticMeshMaterialUtil.h
Generate a new unique material slot name for the given SlotMaterial and NewSlotIndex, ensuring that the name is not already used in the set of ExistingMaterials
namespace UE { namespace AssetUtils { [FName](API\Runtime\Core\UObject\FName) UE::AssetUtils::GenerateNewMaterialSlotName ( const [TArray](API\Runtime\Core\Containers\TArray)< [FStaticMaterial](API\Runtime\Engine\Engine\FStaticMaterial) > & ExistingMaterials, [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * SlotMaterial, int32 NewSlotIndex ) } }