unreal.PCGManagedActors

class unreal.PCGManagedActors(outer: Object | None = None, name: Name | str = 'None')

Bases: PCGManagedResource

PCGManaged Actors

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGManagedResource.h

Editor Properties: (see get_editor_property/set_editor_property)

  • crc (PCGCrc): [Read-Only]

  • generated_actors (Set[Actor]): [Read-Write] deprecated: Property ‘GeneratedActors’ is deprecated.

  • generated_actors_array (Array[Actor]): [Read-Write]

  • is_marked_unused (bool): [Read-Only]

  • marked_transient_on_load (bool): [Read-Only] Resources on a Load-as-preview component are marked as ‘transient on load’; these resources must not be affected in any

    permanent way in order to make sure they are not serialized in a different state if their outer is saved.

    These resources will generally have a different Release path, and will be managed differently from the PCG component as well. Note that this flag will be reset if there is a transient state change originating from the component, which might trigger resource deletion, flags change, etc.

  • supports_reset (bool): [Read-Write] Controls whether the resource will be removed at the beginning of the generation instead of being kept until the end, in the eventuality it is reused. In practice, this means that the actors will be deleted as part of the initial cleanup in the generation instead of being removed at the end. In some instances, this might be required if some components on the actors interact negatively with the PCG processing in the graph.

property generated_actors: None

[Read-Write] deprecated: Property ‘GeneratedActors’ is deprecated.

Type:

(Set[Actor])

property generated_actors_array: None

[Read-Write]

Type:

(Array[Actor])

property supports_reset: bool

[Read-Write] Controls whether the resource will be removed at the beginning of the generation instead of being kept until the end, in the eventuality it is reused. In practice, this means that the actors will be deleted as part of the initial cleanup in the generation instead of being removed at the end. In some instances, this might be required if some components on the actors interact negatively with the PCG processing in the graph.

Type:

(bool)