unreal.PCGCreateTargetActor

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

Bases: PCGSettings

PCGCreate Target Actor

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGCreateTargetActor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allow_template_actor_editing (bool): [Read-Write] TODO: make this InlineEditConditionToggle, not done because property changed event does not propagate correctly so we can’t track accurately the need to create the target actor

  • attach_options (PCGAttachOptions): [Read-Write]

  • break_debugger (bool): [Read-Write] If a debugger is attached, triggers a breakpoint inside IPCGElement::Execute(). Editor only. Transient.

  • 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]

  • post_process_function_names (Array[Name]): [Read-Write] Specify a list of functions to be called on the target actor after creation. Functions need to be parameter-less and with “CallInEditor” flag enabled.

  • property_override_descriptions (Array[PCGObjectPropertyOverrideDescription]): [Read-Write] Override the default property values on the created target actor. Applied before post-process functions.

  • seed (int32): [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 allow_template_actor_editing: bool

make this InlineEditConditionToggle, not done because property changed event does not propagate correctly so we can’t track accurately the need to create the target actor

Type:

(bool)

Type:

[Read-Write] TODO

property attach_options: PCGAttachOptions

[Read-Write]

Type:

(PCGAttachOptions)

property post_process_function_names: None

[Read-Write] Specify a list of functions to be called on the target actor after creation. Functions need to be parameter-less and with “CallInEditor” flag enabled.

Type:

(Array[Name])

property property_override_descriptions: None

[Read-Write] Override the default property values on the created target actor. Applied before post-process functions.

Type:

(Array[PCGObjectPropertyOverrideDescription])

property template_actor: Actor

[Read-Write]

Type:

(Actor)

property template_actor_class: Class

[Read-Only]

Type:

(type(Class))