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::FileManager Class Reference

Inherits QObject, AzFramework::AssetCatalogEventBus::Handler, and AzToolsFramework::AssetSystemBus::Handler.

Public Member Functions

 FileManager (QWidget *parent)
 
void SourceAssetChanged (AZStd::string filename)
 
bool DidSourceAssetGetSaved (const AZStd::string &filename) const
 
void RemoveFromSavedSourceAssets (AZStd::string filename)
 
void OnCatalogAssetChanged (const AZ::Data::AssetId &assetId) override
 
void OnCatalogAssetAdded (const AZ::Data::AssetId &assetId) override
 
void OnCatalogAssetRemoved (const AZ::Data::AssetId &assetId, const AZ::Data::AssetInfo &assetInfo) override
 
void SourceFileChanged (AZStd::string relativePath, AZStd::string scanFolder, AZ::TypeId sourceTypeId) override
 
void RelocateToAssetCacheFolder (AZStd::string &filename)
 
bool RelocateToAssetSourceFolder (AZStd::string &filename)
 
bool IsFileInAssetCache (const AZStd::string &filename) const
 
bool IsFileInAssetSource (const AZStd::string &filename) const
 
AZStd::vector< AZStd::string > SelectProductsOfType (AZ::Data::AssetType assetType, bool multiSelect) const
 
AZStd::string LoadActorFileDialog (QWidget *parent)
 
AZStd::vector< AZStd::string > LoadActorsFileDialog (QWidget *parent)
 
AZStd::string SaveActorFileDialog (QWidget *parent)
 
void SaveActor (EMotionFX::Actor *actor)
 
AZStd::string LoadWorkspaceFileDialog (QWidget *parent)
 
AZStd::string SaveWorkspaceFileDialog (QWidget *parent)
 
AZStd::string LoadMotionSetFileDialog (QWidget *parent)
 
AZStd::string SaveMotionSetFileDialog (QWidget *parent)
 
void SaveMotionSet (QWidget *parent, const EMotionFX::MotionSet *motionSet, MCore::CommandGroup *commandGroup=nullptr)
 
void SaveMotionSet (const char *filename, const EMotionFX::MotionSet *motionSet, MCore::CommandGroup *commandGroup=nullptr)
 
AZStd::string LoadMotionFileDialog (QWidget *parent)
 
AZStd::vector< AZStd::string > LoadMotionsFileDialog (QWidget *parent)
 
void SaveMotion (AZ::u32 motionId)
 
AZStd::string LoadNodeMapFileDialog (QWidget *parent)
 
AZStd::string SaveNodeMapFileDialog (QWidget *parent)
 
AZStd::string LoadAnimGraphFileDialog (QWidget *parent)
 
AZStd::string SaveAnimGraphFileDialog (QWidget *parent)
 
void SaveAnimGraph (const char *filename, size_t animGraphIndex, MCore::CommandGroup *commandGroup=nullptr)
 
void SaveAnimGraph (QWidget *parent, EMotionFX::AnimGraph *animGraph, MCore::CommandGroup *commandGroup=nullptr)
 
void SaveAnimGraphAs (QWidget *parent, EMotionFX::AnimGraph *animGraph, const EMotionFX::AnimGraph *focusedAnimGraph, MCore::CommandGroup *commandGroup=nullptr)
 
AZStd::string LoadControllerPresetFileDialog (QWidget *parent, const char *defaultFolder)
 
AZStd::string SaveControllerPresetFileDialog (QWidget *parent, const char *defaultFolder)
 
const AZStd::vector< AZStd::string > & GetSavedSourceAssets () const
 

Static Public Member Functions

static AZStd::string GetAssetFilenameFromAssetId (const AZ::Data::AssetId &assetId)
 
static bool IsAssetLoaded (const char *filename)
 
static bool IsSourceAssetLoaded (const char *filename)
 

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