unreal.AssemblyAssociatedAssetDesc

class unreal.AssemblyAssociatedAssetDesc(asset_class: Class = Ellipsis, asset_name: TemplateString = Ellipsis, relative_path: TemplateString = Ellipsis, template_asset: Object = Ellipsis, created_asset: Object = Ellipsis, asset_id: Guid = [], label: Name = 'None', should_create: bool = False)

Bases: StructBase

Defines an additional asset that should be created alongside an assembly. These definitions are configured by the Schema.

C++ Source:

  • Plugin: CinematicAssemblyTools

  • Module: CineAssemblyTools

  • File: CineAssembly.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_class (Class): [Read-Write] The class of asset to create

  • asset_id (Guid): [Read-Write] Stable identifier for this definition

  • asset_name (TemplateString): [Read-Write] The template name for the associated asset

  • created_asset (Object): [Read-Write] Reference to the asset created from this definition (populated after the asset is created)

  • label (Name): [Read-Write] Semantic label for identifying this associated asset

  • relative_path (TemplateString): [Read-Write] The path relative to the assembly root where this asset should be created

  • should_create (bool): [Read-Write] If true, the CineAssembly factory will create an asset for this descriptor. If false, it is skipped.

  • template_asset (Object): [Read-Write] Template asset that will be duplicated when creating an asset for this descriptor. If null, a new asset of type AssetClass will be created.

property asset_class: Class

[Read-Only] The class of asset to create

Type:

(Class)

property asset_id: Guid

[Read-Only] Stable identifier for this definition

Type:

(Guid)

property asset_name: TemplateString

[Read-Only] The template name for the associated asset

Type:

(TemplateString)

property created_asset: Object

[Read-Only] Reference to the asset created from this definition (populated after the asset is created)

Type:

(Object)

property label: Name

[Read-Only] Semantic label for identifying this associated asset

Type:

(Name)

property relative_path: TemplateString

[Read-Only] The path relative to the assembly root where this asset should be created

Type:

(TemplateString)

property should_create: bool

[Read-Only] If true, the CineAssembly factory will create an asset for this descriptor. If false, it is skipped.

Type:

(bool)

property template_asset: Object

[Read-Only] Template asset that will be duplicated when creating an asset for this descriptor. If null, a new asset of type AssetClass will be created.

Type:

(Object)