UEditorLoadingAndSavingUtils::ExportScene

Exports the current scene