/Engine/Source/Developer/FunctionalTesting/Public/AutomationBlueprintFunctionLibrary.h
Sets all viewports of the first found level editor to have the given ViewMode (Lit/Unlit/etc.)
static void SetEditorViewportViewMode ( EViewModeIndex Index )