unreal.K2Node¶
- class unreal.K2Node(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
EdGraphNodeAbstract base class of all blueprint graph nodes.
C++ Source:
Module: BlueprintGraph
File: K2Node.h
Editor Properties: (see get_editor_property/set_editor_property)
error_msg(str): [Read-Write] Error/Warning description
- find_data_input_pin() BlueprintGraphPin¶
Returns the single data input pin associated with this node, returning default pin if there are multiple or no input(s)
- Return type:
- find_execute_pin() BlueprintGraphPin¶
Returns the ‘execute’ or ‘do’ pin associated with this node, if any
- Return type:
- find_input_pin(pin_name, type=[]) BlueprintGraphPin¶
Returns an input pin specified by name and, optionally, type
- Parameters:
pin_name (Name)
type (EdGraphPinType)
- Return type:
- find_input_pin_by_index(index, type=[]) BlueprintGraphPin¶
Returns an input pin specified by index and, optionally, type
- Parameters:
index (int32)
type (EdGraphPinType)
- Return type:
- find_output_pin(pin_name, type=[]) BlueprintGraphPin¶
Returns an output pin specified by name and, optionally, type
- Parameters:
pin_name (Name)
type (EdGraphPinType)
- Return type:
- find_output_pin_by_index(index, type=[]) BlueprintGraphPin¶
Returns an output pin specified by index and, optionally, type
- Parameters:
index (int32)
type (EdGraphPinType)
- Return type:
- find_result_pin() BlueprintGraphPin¶
Returns the single data output pin associated with this node, returning default pin if there are multiple or no output(s)
- Return type:
- find_self_pin() BlueprintGraphPin¶
Returns the self pin associated with this node, if any
- Return type:
- find_then_pin() BlueprintGraphPin¶
Returns the ‘then’ pin associated with this node, if any
- Return type:
- get_node_title() str¶
Returns this node’s title, as used when the node is displayed in a list
- Return type:
- list_all_pins(direction=EdGraphPinDirection.EGPD_MAX) Array[BlueprintGraphPin]¶
Returns all visible pins on this node, optionally discriminated by direction
- Parameters:
direction (EdGraphPinDirection)
- Return type:
- list_input_pins() Array[BlueprintGraphPin]¶
Returns all visible input pins on this node
- Return type:
- list_output_pins() Array[BlueprintGraphPin]¶
Returns all visible output pins on this node
- Return type: