/Engine/Source/Runtime/Engine/Classes/Materials/MaterialOverrideNanite.h
Setup the object directly.
void SetOverrideMaterial ( [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * InMaterial, bool bInOverride )