unreal.BlueprintGraphPinLibrary¶
- class unreal.BlueprintGraphPinLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectAPI for FBlueprintGraphPin
C++ Source:
Module: BlueprintEditorLibrary
File: BlueprintGraphPin.h
- classmethod break_pin_links(pin) bool¶
Breaks all pin links associated with this pin
- Parameters:
pin (BlueprintGraphPin)
- Return type:
- classmethod break_single_pin_link(pin, other) bool¶
Breaks a pin link between this pin and Other
- Parameters:
pin (BlueprintGraphPin)
other (BlueprintGraphPin)
- Return type:
- classmethod can_create_connection(pin, other) bool¶
Returns true if this and Other pin can be connected. Performing connection may result in implicitly created conversion nodes.
- Parameters:
pin (BlueprintGraphPin)
other (BlueprintGraphPin)
- Return type:
- classmethod get_owning_node(pin) K2Node¶
Returns the pin’s node
- Parameters:
pin (BlueprintGraphPin)
- Return type:
- classmethod get_pin_direction(pin) EdGraphPinDirection¶
Returns the direction of the pin (either EGPD_Output or EGPD_Input)
- Parameters:
pin (BlueprintGraphPin)
- Return type:
- classmethod get_pin_name(pin) Name¶
Returns the low level name of the pin
- Parameters:
pin (BlueprintGraphPin)
- Return type:
- classmethod get_pin_type(pin) EdGraphPinType¶
Returns the pin’s type, FEdGraphPinType is mostly opaque to script but can be used e.g. to create variables of the same type
- Parameters:
pin (BlueprintGraphPin)
- Return type:
- classmethod get_pin_type_as_json_schema(pin) str¶
Returns a json schema encoded description of the pin’s type:
- Parameters:
pin (BlueprintGraphPin)
- Return type:
- classmethod get_pin_type_display_string(pin) Text¶
Returns the string used to describe the pin type in the blueprint UI
- Parameters:
pin (BlueprintGraphPin)
- Return type:
- classmethod get_pin_value(pin) str¶
Returns the literal value associated with the pin. Empty string for pins that have nothing set or are connected to some other pin:
- Parameters:
pin (BlueprintGraphPin)
- Return type:
- classmethod is_same_native_pin(pin, other) bool¶
Because these pin objects are proxies for the underlying native pin, this function should be used for establishing whether to FBlueprintGraphPin values refer to the same pin on a node
- Parameters:
pin (BlueprintGraphPin)
other (BlueprintGraphPin)
- Returns:
true if the Other pin and this Pin are the same pin
- Return type:
- classmethod is_valid(pin) bool¶
- Parameters:
pin (BlueprintGraphPin)
- Returns:
true if the pin has a valid underlying pin
- Return type:
- classmethod list_connected_pins(pin) Array[BlueprintGraphPin]¶
Returns a list of pins this pin is connected to, note that these pin objects are proxies and so comparison to other pin objects must be done via IsSameNativePin
- Parameters:
pin (BlueprintGraphPin)
- Return type:
- classmethod set_pin_value(pin, value) bool¶
Sets the literal value associated with this pin, returning false if the value is not valid
- Parameters:
pin (BlueprintGraphPin)
value (str)
- Return type:
- classmethod try_create_connection(pin, other) bool¶
Tries to create a connection between this pin and Other, returning false if the connection is not allowed
- Parameters:
pin (BlueprintGraphPin)
other (BlueprintGraphPin)
- Return type: