unreal.Exporter

class unreal.Exporter(outer=None, name='None')

Bases: unreal.Object

C++ Source:

  • Module: Engine

  • File: Exporter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • export_task (AssetExportTask): [Read-Write] Export Task

  • format_description (Array(str)): [Read-Write] Descriptiong of the export format

  • format_extension (Array(str)): [Read-Write] File extension to use for this exporter

  • supported_class (type(Class)): [Read-Write] Supported class of this exporter

  • text (bool): [Read-Write] If true, this will export the data as text

property export_task

[Read-Write] Export Task

Type

(AssetExportTask)

property format_description

[Read-Write] Descriptiong of the export format

Type

(Array(str))

property format_extension

[Read-Write] File extension to use for this exporter

Type

(Array(str))

classmethod run_asset_export_task(task)bool

Export the given object to file. Child classes do not override this, but they do provide an Export() function to do the resource-specific export work.

Parameters

task (AssetExportTask) – The task to export.

Returns

true if the the object was successfully exported

Return type

bool

classmethod run_asset_export_tasks(export_tasks)bool

Export the given objects to files. Child classes do not override this, but they do provide an Export() function to do the resource-specific export work.

Parameters

export_tasks (Array(AssetExportTask)) – The array of tasks to export.

Returns

true if all tasks ran without error

Return type

bool

script_run_asset_export_task(task)bool

Export the given object to file. Overridden by script based exporters.

Parameters

task (AssetExportTask) – The task to export.

Returns

true if overridden by script exporter.

Return type

bool

property supported_class

[Read-Write] Supported class of this exporter

Type

(type(Class))

property text

[Read-Write] If true, this will export the data as text

Type

(bool)