Navigation
Unreal Engine C++ API Reference > Developer > DatasmithExporter
References
Module | DatasmithExporter |
Header | /Engine/Source/Developer/Datasmith/DatasmithExporter/Public/DatasmithSceneExporter.h |
Include | #include "DatasmithSceneExporter.h" |
Syntax
class FDatasmithSceneExporter
Remarks
This is the export for a DatasmithScene. Call PreExport, then Export to finish the export process.
Constructors
Type | Name | Description |
---|---|---|
FDatasmithSceneExporter () |
Destructors
Type | Name | Description |
---|---|---|
~FDatasmithSceneExporter () |
Functions
Type | Name | Description |
---|---|---|
void | Export ( TSharedRef< IDatasmithScene > Datas..., bool bCleanupUnusedElements ) | Exports the entire scene. |
const TCHAR ... | GetAssetsOutputPath () | Gets the path to the assets output folder. This is where we output the mesh files, textures, etc. |
const TCHAR ... | GetName () | Gets the name of the scene to export. |
const TCHAR ... | GetOutputPath () | |
void | PreExport () | Indicates that we're starting the export process. Starts the export metrics. |
void | SetLogger ( const TSharedPtr< FDatasmithLogger ... ) | Sets the logger to store the summary of the export process |
void | SetName ( const TCHAR* InName ) | Sets the name of the scene to export. The resulting file and folder will use this name. |
void | SetOutputPath ( const TCHAR* InOutputPath ) | Sets the output path to where this scene will be exported. |
void | SetProgressManager ( const TSharedPtr< IDatasmithProgres... ) | Sets the progress manager for visual feedback on exporting |
Deprecated Functions
Type | Name | Description |
---|---|---|
void | Reset () | This function was selectively reseting the export state and was preserving the export paths. We should now directly set the fields we want to change instead. |