unreal.TopLevelAssetPath

class unreal.TopLevelAssetPath(package_name: str = '', asset_name: str = '')

Bases: StructBase

A struct that can reference a top level asset such as ‘/Path/To/Package.AssetName’ note: The full C++ class is located here: EngineSourceRuntimeCoreUObjectPublicUObjectTopLevelAssetPath.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_name (Name): [Read-Write] Name of the asset within the package e.g. ‘AssetName’

  • package_name (Name): [Read-Write] Name of the package containing the asset e.g. /Path/To/Package

property asset_name: Name

[Read-Write] Name of the asset within the package e.g. ‘AssetName’

Type:

(Name)

property package_name: Name

[Read-Write] Name of the package containing the asset e.g. /Path/To/Package

Type:

(Name)