/Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h
Creates a flatten material instance and the required texture assets
static [UMaterialInstanceConstant](API\Runtime\Engine\Materials\UMaterialInstanceConstant) * CreateFlattenMaterialInstance ( [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * InOuter, const [FMaterialProxySettings](API\Runtime\Engine\Engine\FMaterialProxySettings) & InMaterialProxySettings, [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * InBaseMaterial, const [FFlattenMaterial](API\Developer\MaterialUtilities\FFlattenMaterial) & FlattenMaterial, const [FString](API\Runtime\Core\Containers\FString) & AssetBasePath, const [FString](API\Runtime\Core\Containers\FString) & AssetBaseName, [TArray](API\Runtime\Core\Containers\TArray)< [UObject](API\Runtime\CoreUObject\UObject\UObject) * > & OutAssetsToSync, [FMaterialUpdateContext](API\Runtime\Engine\FMaterialUpdateContext) * MaterialUpdateContext )