Open 3D Engine EMotionFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
EMStudio::MainWindow Class Reference

Inherits AzQtComponents::DockMainWindow, PluginOptionsNotificationsBus::Router, EMotionFX::ActorEditorRequestBus::Handler, and AZ::TickBus::Handler.

Public Slots

void OnAutosaveTimeOut ()
 
void LoadLayoutAfterShow ()
 
void RaiseFloatingWidgets ()
 
void LoadCharacterFiles ()
 
void OnSaveLayoutDialogAccept ()
 
void OnSaveLayoutDialogReject ()
 
void OnFileOpenActor ()
 
void OnFileSaveSelectedActors ()
 
void OnReset ()
 
void OnFileMergeActor ()
 
void OnOpenDroppedActor ()
 
void OnRecentFile (QAction *action)
 
void OnMergeDroppedActor ()
 
void OnFileNewWorkspace ()
 
void OnFileOpenWorkspace ()
 
void OnFileSaveWorkspace ()
 
void OnFileSaveWorkspaceAs ()
 
void OnWindowCreate (bool checked)
 
void OnLayoutSaveAs ()
 
void OnRemoveLayout ()
 
void OnLoadLayout ()
 
void OnUndo ()
 
void OnRedo ()
 
void OnOpenAutosaveFolder ()
 
void OnOpenSettingsFolder ()
 
void OnPreferences ()
 
void OnSaveAll ()
 
void ApplicationModeChanged (int index)
 
void ApplicationModeChanged (const QString &text)
 
void OnUpdateRenderPlugins ()
 
void OnRemoveLayoutButtonClicked (QAbstractButton *button)
 

Signals

void HardwareChangeDetected ()
 

Public Member Functions

 MainWindow (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
 
void UpdateCreateWindowMenu ()
 
void UpdateLayoutsMenu ()
 
void UpdateUndoRedo ()
 
void DisableUndoRedo ()
 
void Init ()
 
MCORE_INLINE QMenu * GetLayoutsMenu ()
 
void LoadActor (const char *fileName, bool replaceCurrentScene)
 
void LoadCharacter (const AZ::Data::AssetId &actorAssetId, const AZ::Data::AssetId &animgraphId, const AZ::Data::AssetId &motionSetId)
 
void LoadFile (const AZStd::string &fileName, int32 contextMenuPosX=0, int32 contextMenuPosY=0, bool contextMenuEnabled=true, bool reload=false)
 
void LoadFiles (const AZStd::vector< AZStd::string > &filenames, int32 contextMenuPosX=0, int32 contextMenuPosY=0, bool contextMenuEnabled=true, bool reload=false)
 
void Activate (const AZ::Data::AssetId &actorAssetId, const EMotionFX::AnimGraph *animGraph, const EMotionFX::MotionSet *motionSet)
 
MysticQt::RecentFilesGetRecentWorkspaces ()
 
GUIOptionsGetOptions ()
 
void Reset (bool clearActors=true, bool clearMotionSets=true, bool clearMotions=true, bool clearAnimGraphs=true, MCore::CommandGroup *commandGroup=nullptr, bool addDefaultMotionSet=true)
 
void SavePreferences ()
 
void LoadPreferences ()
 
void UpdateResetAndSaveAllMenus ()
 
void UpdateSaveActorsMenu ()
 
void EnableMergeActorMenu ()
 
void DisableMergeActorMenu ()
 
void EnableSaveSelectedActorsMenu ()
 
void DisableSaveSelectedActorsMenu ()
 
void OnWorkspaceSaved (const char *filename)
 
MCORE_INLINE QComboBox * GetApplicationModeComboBox ()
 
DirtyFileManagerGetDirtyFileManager () const
 
FileManagerGetFileManager () const
 
PreferencesWindowGetPreferencesWindow () const
 
size_t GetNumLayouts () const
 
const char * GetLayoutName (uint32 index) const
 
const char * GetCurrentLayoutName () const
 
MysticQt::KeyboardShortcutManagerGetShortcutManager () const
 
AzQtComponents::FancyDocking * GetFancyDockingManager () const
 
QMessageBox * GetRemoveLayoutDialog ()
 
void AddRecentActorFile (const QString &fileName)
 
void LoadKeyboardShortcuts ()
 
void UpdatePlugins (float timeDelta)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static const char * GetEMotionFXPaneName ()
 

Protected Member Functions

void moveEvent (QMoveEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 
void LoadDefaultLayout ()
 

The documentation for this class was generated from the following file: