USMAssetExporter¶
Module: SMAssetTools
Inherits from UObject
Inherited by USMAssetExporterJson
Public Classes¶
| Name | |
|---|---|
| struct | FExportArgs |
| struct | FExportResult |
Public Types¶
| Name | |
|---|---|
| enum uint8 | EExportStatus |
Public Functions¶
| Name | |
|---|---|
| EExportStatus | BeginExport(const FExportArgs & InExportArgs) |
| EExportStatus | ExportCDO(const UObject * InCDO) |
| EExportStatus | ExportNode(const UEdGraphNode * InGraphNode) |
| void | FinishExport(USMBlueprint * InBlueprint, EExportStatus InStatus) |
Protected Functions¶
| Name | |
|---|---|
| virtual EExportStatus | OnBeginExport(const FExportArgs & InExportArgs) |
| virtual EExportStatus | OnExportCDO(const UObject * InCDO) |
| virtual EExportStatus | OnExportNode(const UEdGraphNode * InGraphNode) |
| virtual void | OnFinishExport(USMBlueprint * InBlueprint, EExportStatus InStatus) |
Public Types Documentation¶
enum EExportStatus¶
| Enumerator | Value | Description |
|---|---|---|
| Success | ||
| Failure | ||
| Skipped |
Public Functions Documentation¶
function BeginExport¶
function ExportCDO¶
function ExportNode¶
function FinishExport¶
Protected Functions Documentation¶
function OnBeginExport¶
Called before all other export methods.
Parameters:
InExportArgs- The export args to use for exporting the asset.
Return: The status of the export. Returning Failure will prevent processing from continuing.
function OnExportCDO¶
Called when the class defaults are being exported.
Parameters:
InCDO- The class default object.
Return: The status of the export. Returning Failure will prevent processing from continuing.
function OnExportNode¶
Called for every node in the graph.
Parameters:
InGraphNode- The current graph node being exported.
Return: The status of the export. Returning Failure will prevent processing from continuing.
function OnFinishExport¶
Called after all other export methods. Finish writing any data to disk here.
Parameters:
InBlueprint- The blueprint that has finished exporting.
InStatus- The status of the export.