This is the export for a DatasmithScene. More...
#include <DatasmithSceneExporter.h>
Public Member Functions | |
| void | PreExport () |
| Indicates that we're starting the export process. More... | |
| void | Export (TSharedRef< IDatasmithScene > DatasmithScene, bool bCleanupUnusedElements=true) |
| Exports the entire scene. More... | |
| void | Reset () |
| Resets all the settings on the scene. More... | |
| void | SetProgressManager (const TSharedPtr< IDatasmithProgressManager > &InProgressManager) |
| Sets the progress manager for visual feedback on exporting. More... | |
| void | SetLogger (const TSharedPtr< FDatasmithLogger > &InLogger) |
| Sets the logger to store the summary of the export process. More... | |
| void | SetName (const TCHAR *InName) |
| Sets the name of the scene to export. More... | |
| void | SetOutputPath (const TCHAR *InOutputPath) |
| Sets the output path to where this scene will be exporter. More... | |
| const TCHAR * | GetOutputPath () const |
| const TCHAR * | GetAssetsOutputPath () const |
| Gets the path to the assets output folder. More... | |
This is the export for a DatasmithScene.
Call PreExport, then Export to finish the export process.
| void FDatasmithSceneExporter::Export | ( | TSharedRef< IDatasmithScene > | DatasmithScene, |
| bool | bCleanupUnusedElements = true |
||
| ) |
Exports the entire scene.
It will create the scene file as well as the resized textures (in case of resize is enabled).
| bCleanupUnusedElements | Remove unused meshes, textures and materials before exporting |
| const TCHAR* FDatasmithSceneExporter::GetAssetsOutputPath | ( | ) | const |
Gets the path to the assets output folder.
This is where we output the mesh files, textures, etc.
| void FDatasmithSceneExporter::PreExport | ( | ) |
Indicates that we're starting the export process.
Starts the export metrics.
| void FDatasmithSceneExporter::Reset | ( | ) |
Resets all the settings on the scene.
| void FDatasmithSceneExporter::SetLogger | ( | const TSharedPtr< FDatasmithLogger > & | InLogger | ) |
Sets the logger to store the summary of the export process.
| void FDatasmithSceneExporter::SetName | ( | const TCHAR * | InName | ) |
Sets the name of the scene to export.
The resulting file and folder will use this name.
| void FDatasmithSceneExporter::SetOutputPath | ( | const TCHAR * | InOutputPath | ) |
Sets the output path to where this scene will be exporter.
| void FDatasmithSceneExporter::SetProgressManager | ( | const TSharedPtr< IDatasmithProgressManager > & | InProgressManager | ) |
Sets the progress manager for visual feedback on exporting.