unreal.PCGInteractiveToolSettings

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

Bases: PCGInteractiveToolBaseSettings

Base class for tools that need to manage creating an actor, a pcg component and graph tool settings in PCG.

C++ Source:

  • Plugin: PCG

  • Module: PCGEditor

  • File: PCGInteractiveToolSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • actor_class_to_spawn (type(Class)): [Read-Write] The actor class to use when the tool works on a spawned actor opposed to a pre-existing one.

  • data_instance (Name): [Read-Write] Marked transient because the tool system will either fill this with a default or take the graph from the selected actor.

  • new_actor_name (Name): [Read-Write] The name to be issued to a newly created actor when the tool is applied.

  • new_pcg_component_name (Name): [Read-Write] The name to be issued to a newly created PCG component when the tool is applied.

  • tool_graph (PCGGraphInterface): [Read-Write]

property data_instance: Name

[Read-Only] Marked transient because the tool system will either fill this with a default or take the graph from the selected actor.

Type:

(Name)

property tool_graph: PCGGraphInterface

[Read-Only]

Type:

(PCGGraphInterface)