unreal.Collection

class unreal.Collection(container: Name = 'None', name: Name = 'None', share_type: CollectionShareType = Ellipsis)

Bases: StructBase

Collection Scripting Ref

C++ Source:

  • Module: UnrealEd

  • File: CollectionManagerScriptingSubsystem.h

Editor Properties: (see get_editor_property/set_editor_property)

  • container (Name): [Read-Write] The name (not title) of the container that owns this collection. Defaults to the base game’s container.

  • name (Name): [Read-Write] Friendly name of the collection.

  • share_type (CollectionShareType): [Read-Write] Share type of this collection, which controls its visibility.

property container: Name

[Read-Write] The name (not title) of the container that owns this collection. Defaults to the base game’s container.

Type:

(Name)

property name: Name

[Read-Write] Friendly name of the collection.

Type:

(Name)

property share_type: CollectionShareType

[Read-Write] Share type of this collection, which controls its visibility.

Type:

(CollectionShareType)