unreal.StormSyncArchiveFactory
¶
- class unreal.StormSyncArchiveFactory(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Factory
Special Storm Sync Factory to handle import of storm sync archive files and hook into content browser (drag & drop and import from context menu)
It differs from usual factories as it operates on a dummy UObject transient package, and forwards handling of package extraction and asset import / update to storm sync import subsystem.
When exporting / importing via Storm Sync, we don’t operate on an atomic .uasset representing the underlying file it is importing, but more like a “zip” including all assets and their inner dependencies.
C++ Source:
Plugin: StormSync
Module: StormSyncEditor
File: StormSyncArchiveFactory.h
Editor Properties: (see get_editor_property/set_editor_property)
asset_import_task
(AssetImportTask): [Read-Write] Task for importing file via script interfacesautomated_import_data
(AutomatedAssetImportData): [Read-Write] Data for how to import files via the automated command line importing interfacecontext_class
(type(Class)): [Read-Write] Class of the context object used to help create the object.create_new
(bool): [Read-Write] The default value to return from CanCreateNew()edit_after_new
(bool): [Read-Write] true if the associated editor should be opened after creating a new object.editor_import
(bool): [Read-Write] true if the factory imports objects from files.formats
(Array[str]): [Read-Write] List of formats supported by the factory. Each entry is of the form “ext;Description” where ext is the file extension.supported_class
(type(Class)): [Read-Write] The class manufactured by this factory.text
(bool): [Read-Write] true if the factory imports objects from text.