/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h
Call this function to change the feature level and to override the material quality platform of the editor and PIE worlds
void SetPreviewPlatform ( const [FPreviewPlatformInfo](API\Editor\UnrealEd\Editor\FPreviewPlatformInfo) & NewPreviewPlatform, bool bSaveSettings )