unreal.PCGNode¶
- class unreal.PCGNode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectC++ Source:
Plugin: PCG
Module: PCG
File: PCGNode.h
Editor Properties: (see get_editor_property/set_editor_property)
input_pins(Array[PCGPin]): [Read-Only]node_title(Name): [Read-Write]node_title_color(LinearColor): [Read-Write]output_pins(Array[PCGPin]): [Read-Only]settings_interface(PCGSettingsInterface): [Read-Only] Note: do not set this property directly from code, use SetSettingsInterface instead
- add_edge_to(from_pin_label, to, to_pin_label) PCGNode¶
Adds an edge in the owning graph to the given “To” node.
- get_node_position() -> (out_position_x=int32, out_position_y=int32)¶
Get Node Position
- Returns:
out_position_x (int32):
out_position_y (int32):
- Return type:
tuple
- get_settings() PCGSettings¶
Returns the settings this node holds (either directly or through an instance)
- Return type:
- property node_title_color: LinearColor¶
[Read-Write]
- Type:
- set_node_position(position_x, position_y) None¶
Set Node Position
- Parameters:
position_x (int32)
position_y (int32)
- property settings_interface: PCGSettingsInterface¶
do not set this property directly from code, use SetSettingsInterface instead
- Type:
- Type:
[Read-Only] Note