unreal.LevelExporterUSDOptions

class unreal.LevelExporterUSDOptions(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Options for exporting levels to USD format.

C++ Source:

  • Plugin: USDImporter

  • Module: USDExporter

  • File: LevelExporterUSDOptions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • current_task (AssetExportTask): [Read-Only] We temporarily stash our export task here as a way of passing our options down to the Python exporter, that does the actual level exporting. This is weak because we often use the CDO of this class directly, and we never want to permanently hold on to a particular export task

  • end_time_code (float): [Read-Write] EndTimeCode to be used for all exported layers

  • inner (LevelExporterUSDOptionsInner): [Read-Write] Inner struct that actually contains most of the export options

  • re_export_identical_assets (bool): [Read-Write] Whether to export any asset (StaticMesh, Material, etc.) even if the existing file already describes the same version of a compatible asset. This is only checked when bReplaceIdentical is set on the asset export task. Otherwise we’ll never overwrite files.

  • re_export_identical_levels_and_sequences (bool): [Read-Write] Whether to export levels and LevelSequences even if the existing files already describe the same versions of compatible assets. This is only checked when bReplaceIdentical is set on the asset export task. Otherwise we’ll never overwrite files.

  • stage_options (UsdStageOptions): [Read-Write] Basic options about the stage to export

  • start_time_code (float): [Read-Write] StartTimeCode to be used for all exported layers

property current_task: AssetExportTask

[Read-Only] We temporarily stash our export task here as a way of passing our options down to the Python exporter, that does the actual level exporting. This is weak because we often use the CDO of this class directly, and we never want to permanently hold on to a particular export task

Type:

(AssetExportTask)

property end_time_code: float

[Read-Write] EndTimeCode to be used for all exported layers

Type:

(float)

property inner: LevelExporterUSDOptionsInner

[Read-Write] Inner struct that actually contains most of the export options

Type:

(LevelExporterUSDOptionsInner)

property re_export_identical_assets: bool

[Read-Write] Whether to export any asset (StaticMesh, Material, etc.) even if the existing file already describes the same version of a compatible asset. This is only checked when bReplaceIdentical is set on the asset export task. Otherwise we’ll never overwrite files.

Type:

(bool)

property re_export_identical_levels_and_sequences: bool

[Read-Write] Whether to export levels and LevelSequences even if the existing files already describe the same versions of compatible assets. This is only checked when bReplaceIdentical is set on the asset export task. Otherwise we’ll never overwrite files.

Type:

(bool)

property stage_options: UsdStageOptions

[Read-Write] Basic options about the stage to export

Type:

(UsdStageOptions)

property start_time_code: float

[Read-Write] StartTimeCode to be used for all exported layers

Type:

(float)