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

Bases: unreal.Object

todo: Make this class better suited to multiple import paths - maybe have FAssetImportInfo use a map rather than array?

C++ Source:

  • Module: Engine
  • File: AssetImportData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • source_data (AssetImportInfo): [Read-Only] Source file data describing the files that were used to import this asset.
extract_filenames() -> Array(str)

K2 Extract Filenames

Return type:Array(str)
get_first_filename() → str

Helper function to return the first filename stored in this data. The resulting filename will be absolute (ie, not relative to the asset).

Return type:str