unreal.MigrationOptions

class unreal.MigrationOptions(prompt: bool = False, ignore_dependencies: bool = False, asset_conflict: AssetMigrationConflict = Ellipsis, orphan_folder: str = '')

Bases: StructBase

Migration Options

C++ Source:

  • Module: AssetTools

  • File: IAssetTools.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_conflict (AssetMigrationConflict): [Read-Write] What to do when Assets are conflicting on the destination

  • ignore_dependencies (bool): [Read-Write] Ignore dependencies of assets, only migrate the given assets. usefull for automation. This will not migrate the actors of a OFPA (one file per actor) level

  • orphan_folder (str): [Read-Write] Destination for assets that don’t have a corresponding content folder. If left empty those assets are not migrated. (Not used by the new migration)

  • prompt (bool): [Read-Write] Prompt user for confirmation (always false through scripting)

property asset_conflict: AssetMigrationConflict

[Read-Write] What to do when Assets are conflicting on the destination

Type:

(AssetMigrationConflict)

property ignore_dependencies: bool

[Read-Write] Ignore dependencies of assets, only migrate the given assets. usefull for automation. This will not migrate the actors of a OFPA (one file per actor) level

Type:

(bool)

property orphan_folder: str

[Read-Write] Destination for assets that don’t have a corresponding content folder. If left empty those assets are not migrated. (Not used by the new migration)

Type:

(str)

property prompt: bool

[Read-Write] Prompt user for confirmation (always false through scripting)

Type:

(bool)