unreal.PCGSpawnActorSettings

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

Bases: PCGBaseSubgraphSettings

PCGSpawn Actor Settings

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGSpawnActor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • actor_overrides (Array[PCGActorPropertyOverride]): [Read-Write]

  • category (Text): [Read-Write]

  • debug (bool): [Read-Write]

  • debug_settings (PCGDebugVisualizationSettings): [Read-Write]

  • description (Text): [Read-Write]

  • determinism_settings (PCGDeterminismSettings): [Read-Write]

  • enabled (bool): [Read-Write]

  • expose_to_library (bool): [Read-Write]

  • filter_on_tags (Set[str]): [Read-Write] Warning - this is deprecated and will be removed soon since we have a Filter By Tag node for this specific purpose

  • force_disable_actor_parsing (bool): [Read-Write]

  • generation_trigger (PCGSpawnActorGenerationTrigger): [Read-Write]

  • inherit_actor_tags (bool): [Read-Write] Warning: inheriting parent actor tags work only in non-collapsed actor hierarchies

  • option (PCGSpawnActorOption): [Read-Write]

  • pass_through_filtered_out_inputs (bool): [Read-Write] Warning - this is deprecated and will be removed soon since we have a Filter By Tag node for this specific purpose

  • post_spawn_function_names (Array[Name]): [Read-Write] Can specify a list of functions from the template class to be called on each actor spawned, in order. Need to be parameter-less and with “CallInEditor” flag enabled.

  • seed (int32): [Read-Write]

  • tags_applied_on_output (Set[str]): [Read-Write] Applies the specified tags on the output data. Note - this might be replaced by a dedicated Tagging node

  • tags_to_add_on_actors (Array[Name]): [Read-Write]

  • template_actor (Actor): [Read-Write]

  • template_actor_class (type(Class)): [Read-Write]

  • use_seed (bool): [Read-Only] By default, settings won’t use a seed. Set this bool to true in the child ctor to allow edition and use it.

property actor_overrides: None

[Read-Write]

Type:

(Array[PCGActorPropertyOverride])

property force_disable_actor_parsing: bool

[Read-Write]

Type:

(bool)

property generation_trigger: PCGSpawnActorGenerationTrigger

[Read-Write]

Type:

(PCGSpawnActorGenerationTrigger)

property inherit_actor_tags: bool

inheriting parent actor tags work only in non-collapsed actor hierarchies

Type:

(bool)

Type:

[Read-Write] Warning

property option: PCGSpawnActorOption

[Read-Write]

Type:

(PCGSpawnActorOption)

property post_spawn_function_names: None

[Read-Write] Can specify a list of functions from the template class to be called on each actor spawned, in order. Need to be parameter-less and with “CallInEditor” flag enabled.

Type:

(Array[Name])

property tags_to_add_on_actors: None

[Read-Write]

Type:

(Array[Name])

property template_actor: Actor

[Read-Write]

Type:

(Actor)

property template_actor_class: Class

[Read-Only]

Type:

(type(Class))