unreal.PrimaryAssetTypeInfo

class unreal.PrimaryAssetTypeInfo

Bases: unreal.StructBase

Structure with publicly exposed information about an asset type. These can be loaded out of a config file.

C++ Source:

  • Module: Engine

  • File: AssetManagerTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_base_class (Class): [Read-Write] Base Class of all assets of this type

  • directories (Array(DirectoryPath)): [Read-Write] Directories to search for this asset type

  • has_blueprint_classes (bool): [Read-Write] True if the assets loaded are blueprints classes, false if they are normal UObjects

  • is_editor_only (bool): [Read-Write] True if this type is editor only

  • primary_asset_type (Name): [Read-Write] The logical name for this type of Primary Asset

  • rules (PrimaryAssetRules): [Read-Write] Default management rules for this type, individual assets can be overridden

  • specific_assets (Array(SoftObjectPath)): [Read-Write] Individual assets to scan