/Engine/Source/Editor/PropertyEditor/Public/MaterialList.h
Replace material in slot
void ReplaceMaterial ( [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * NewMaterial, bool bReplaceAll )