unreal.PCGAssetExporterParameters

class unreal.PCGAssetExporterParameters(open_save_dialog: bool = False, asset_name: str = '', asset_path: str = '')

Bases: StructBase

Common structure to hold saving options required to export or update PCG assets.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGAssetExporter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_name (str): [Read-Write] Target asset path name

  • asset_path (str): [Read-Write] Target asset path to write the PCG assets to.

  • open_save_dialog (bool): [Read-Write] Controls whether we will open a Save… dialog, works only when a single level is exported. Overrides update anywhere.

property asset_name: str

[Read-Write] Target asset path name

Type:

(str)

property asset_path: str

[Read-Write] Target asset path to write the PCG assets to.

Type:

(str)

property open_save_dialog: bool

[Read-Write] Controls whether we will open a Save… dialog, works only when a single level is exported. Overrides update anywhere.

Type:

(bool)