FDatasmithSceneExporter

This is the export for a DatasmithScene. Call PreExport, then Export to finish the export process.

Windows
MacOS
Linux

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

Name Description

Public function

FDatasmithSceneExporter()

Destructors

Name Description

Public function

~FDatasmithSceneExporter()

Functions

Name Description

Public function

void

 

Export

(
    TSharedRef< IDatasmithScene > Datas...,
    bool bCleanupUnusedElements
)

Exports the entire scene.

Public function Const

const TCHAR ...

 

GetAssetsOutputPath()

Gets the path to the assets output folder. This is where we output the mesh files, textures, etc.

Public function Const

const TCHAR ...

 

GetName()

Gets the name of the scene to export.

Public function Const

const TCHAR ...

 

GetOutputPath()

Public function

void

 

PreExport()

Indicates that we're starting the export process. Starts the export metrics.

Public function

void

 

Reset()

Resets all the settings on the scene

Public function

void

 

SetLogger

(
    const TSharedPtr< FDatasmithLogger ...
)

Sets the logger to store the summary of the export process

Public function

void

 

SetName

(
    const TCHAR* InName
)

Sets the name of the scene to export. The resulting file and folder will use this name.

Public function

void

 

SetOutputPath

(
    const TCHAR* InOutputPath
)

Sets the output path to where this scene will be exported.

Public function

void

 

SetProgressManager

(
    const TSharedPtr< IDatasmithProgres...
)

Sets the progress manager for visual feedback on exporting

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss