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] Asset Base Class: Base Class of all assets of this type

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

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

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

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

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

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