Navigation
API > API/Developer > API/Developer/DatasmithExporter
This is the export for a DatasmithScene. Call PreExport, then Export to finish the export process.
| Name | FDatasmithSceneExporter |
| Type | class |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithExporter/Public/DatasmithSceneExporter.h |
| Include Path | #include "DatasmithSceneExporter.h" |
Syntax
class FDatasmithSceneExporter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithSceneExporter() |
DatasmithSceneExporter.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FDatasmithSceneExporter() |
DatasmithSceneExporter.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Impl | TUniquePtr< FDatasmithSceneExporterImpl > | DatasmithSceneExporter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Export
(
TSharedRef< IDatasmithScene > DatasmithScene, |
Exports the entire scene. | DatasmithSceneExporter.h | |
const TCHAR * GetAssetsOutputPath() |
Gets the path to the assets output folder. This is where we output the mesh files, textures, etc. | DatasmithSceneExporter.h | |
const TCHAR * GetName() |
Gets the name of the scene to export. | DatasmithSceneExporter.h | |
const TCHAR * GetOutputPath() |
DatasmithSceneExporter.h | ||
void PreExport() |
Indicates that we're starting the export process. Starts the export metrics. | DatasmithSceneExporter.h | |
void Reset() |
Resets all the settings on the scene | DatasmithSceneExporter.h | |
void SetLogger
(
const TSharedPtr< FDatasmithLogger >& InLogger |
Sets the logger to store the summary of the export process | DatasmithSceneExporter.h | |
void SetName
(
const TCHAR* InName |
Sets the name of the scene to export. The resulting file and folder will use this name. | DatasmithSceneExporter.h | |
void SetOutputPath
(
const TCHAR* InOutputPath |
Sets the output path to where this scene will be exported. | DatasmithSceneExporter.h | |
void SetProgressManager
(
const TSharedPtr< IDatasmithProgressManager >& InProgressManager |
Sets the progress manager for visual feedback on exporting | DatasmithSceneExporter.h |