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

Public Member Functions

bool Save (const char *filename=nullptr, bool updateFileName=true, bool updateDirtyFlag=true)
 
bool Load (const char *filename, MCore::CommandGroup *commandGroup)
 
void Reset ()
 
void SetFilename (const char *filename)
 
const AZStd::string & GetFilenameString () const
 
const char * GetFilename () const
 
void SetDirtyFlag (bool dirty)
 
bool GetDirtyFlag () const
 

Static Public Member Functions

static const char * GetFileExtension ()
 

Member Function Documentation

◆ GetDirtyFlag()

bool EMStudio::Workspace::GetDirtyFlag ( ) const

Get the dirty flag which indicates whether the user has made changes to the motion. This indicator is set to true when the user changed something like adding a motion event. When the user saves the motion, the indicator is usually set to false.

Returns
The dirty flag.

◆ SetDirtyFlag()

void EMStudio::Workspace::SetDirtyFlag ( bool  dirty)

Set the dirty flag which indicates whether the user has made changes to the motion. This indicator should be set to true when the user changed something like adding a motion event. When the user saves the motion, the indicator is usually set to false.

Parameters
dirtyThe dirty flag.

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