mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Sync classref with changes from godotengine/godot#24640
This commit is contained in:
+122
-116
@@ -19,130 +19,130 @@ A GraphNode is a container with several input and output slots allowing connecti
|
||||
Properties
|
||||
----------
|
||||
|
||||
+----------------------------------------+-----------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`comment<class_GraphNode_comment>` |
|
||||
+----------------------------------------+-----------------------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`offset<class_GraphNode_offset>` |
|
||||
+----------------------------------------+-----------------------------------------------+
|
||||
| :ref:`Overlay<enum_GraphNode_Overlay>` | :ref:`overlay<class_GraphNode_overlay>` |
|
||||
+----------------------------------------+-----------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`resizable<class_GraphNode_resizable>` |
|
||||
+----------------------------------------+-----------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`selected<class_GraphNode_selected>` |
|
||||
+----------------------------------------+-----------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`show_close<class_GraphNode_show_close>` |
|
||||
+----------------------------------------+-----------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`title<class_GraphNode_title>` |
|
||||
+----------------------------------------+-----------------------------------------------+
|
||||
+----------------------------------------+--------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`comment<class_GraphNode_property_comment>` |
|
||||
+----------------------------------------+--------------------------------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`offset<class_GraphNode_property_offset>` |
|
||||
+----------------------------------------+--------------------------------------------------------+
|
||||
| :ref:`Overlay<enum_GraphNode_Overlay>` | :ref:`overlay<class_GraphNode_property_overlay>` |
|
||||
+----------------------------------------+--------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`resizable<class_GraphNode_property_resizable>` |
|
||||
+----------------------------------------+--------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`selected<class_GraphNode_property_selected>` |
|
||||
+----------------------------------------+--------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`show_close<class_GraphNode_property_show_close>` |
|
||||
+----------------------------------------+--------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`title<class_GraphNode_property_title>` |
|
||||
+----------------------------------------+--------------------------------------------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`clear_all_slots<class_GraphNode_clear_all_slots>` **(** **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`clear_slot<class_GraphNode_clear_slot>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`get_connection_input_color<class_GraphNode_get_connection_input_color>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_connection_input_count<class_GraphNode_get_connection_input_count>` **(** **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`get_connection_input_position<class_GraphNode_get_connection_input_position>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_connection_input_type<class_GraphNode_get_connection_input_type>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`get_connection_output_color<class_GraphNode_get_connection_output_color>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_connection_output_count<class_GraphNode_get_connection_output_count>` **(** **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`get_connection_output_position<class_GraphNode_get_connection_output_position>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_connection_output_type<class_GraphNode_get_connection_output_type>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`get_slot_color_left<class_GraphNode_get_slot_color_left>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`get_slot_color_right<class_GraphNode_get_slot_color_right>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_slot_type_left<class_GraphNode_get_slot_type_left>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_slot_type_right<class_GraphNode_get_slot_type_right>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_slot_enabled_left<class_GraphNode_is_slot_enabled_left>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_slot_enabled_right<class_GraphNode_is_slot_enabled_right>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_slot<class_GraphNode_set_slot>` **(** :ref:`int<class_int>` idx, :ref:`bool<class_bool>` enable_left, :ref:`int<class_int>` type_left, :ref:`Color<class_Color>` color_left, :ref:`bool<class_bool>` enable_right, :ref:`int<class_int>` type_right, :ref:`Color<class_Color>` color_right, :ref:`Texture<class_Texture>` custom_left=null, :ref:`Texture<class_Texture>` custom_right=null **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`clear_all_slots<class_GraphNode_method_clear_all_slots>` **(** **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`clear_slot<class_GraphNode_method_clear_slot>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`get_connection_input_color<class_GraphNode_method_get_connection_input_color>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_connection_input_count<class_GraphNode_method_get_connection_input_count>` **(** **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`get_connection_input_position<class_GraphNode_method_get_connection_input_position>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_connection_input_type<class_GraphNode_method_get_connection_input_type>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`get_connection_output_color<class_GraphNode_method_get_connection_output_color>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_connection_output_count<class_GraphNode_method_get_connection_output_count>` **(** **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`get_connection_output_position<class_GraphNode_method_get_connection_output_position>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_connection_output_type<class_GraphNode_method_get_connection_output_type>` **(** :ref:`int<class_int>` idx **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`get_slot_color_left<class_GraphNode_method_get_slot_color_left>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`get_slot_color_right<class_GraphNode_method_get_slot_color_right>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_slot_type_left<class_GraphNode_method_get_slot_type_left>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_slot_type_right<class_GraphNode_method_get_slot_type_right>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_slot_enabled_left<class_GraphNode_method_is_slot_enabled_left>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_slot_enabled_right<class_GraphNode_method_is_slot_enabled_right>` **(** :ref:`int<class_int>` idx **)** const |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_slot<class_GraphNode_method_set_slot>` **(** :ref:`int<class_int>` idx, :ref:`bool<class_bool>` enable_left, :ref:`int<class_int>` type_left, :ref:`Color<class_Color>` color_left, :ref:`bool<class_bool>` enable_right, :ref:`int<class_int>` type_right, :ref:`Color<class_Color>` color_right, :ref:`Texture<class_Texture>` custom_left=null, :ref:`Texture<class_Texture>` custom_right=null **)** |
|
||||
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | :ref:`breakpoint<class_GraphNode_breakpoint>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`close<class_GraphNode_close>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`close_color<class_GraphNode_close_color>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`close_offset<class_GraphNode_close_offset>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | :ref:`comment<class_GraphNode_comment>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | :ref:`commentfocus<class_GraphNode_commentfocus>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | :ref:`defaultfocus<class_GraphNode_defaultfocus>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | :ref:`defaultframe<class_GraphNode_defaultframe>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | :ref:`frame<class_GraphNode_frame>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`port<class_GraphNode_port>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`port_offset<class_GraphNode_port_offset>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | :ref:`position<class_GraphNode_position>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`resizer<class_GraphNode_resizer>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | :ref:`selectedframe<class_GraphNode_selectedframe>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`separation<class_GraphNode_separation>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`title_color<class_GraphNode_title_color>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`Font<class_Font>` | :ref:`title_font<class_GraphNode_title_font>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`title_offset<class_GraphNode_title_offset>` |
|
||||
+---------------------------------+-----------------------------------------------------+
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | breakpoint |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`Texture<class_Texture>` | close |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`Color<class_Color>` | close_color |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`int<class_int>` | close_offset |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | comment |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | commentfocus |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | defaultfocus |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | defaultframe |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | frame |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`Texture<class_Texture>` | port |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`int<class_int>` | port_offset |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | position |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`Texture<class_Texture>` | resizer |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | selectedframe |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`int<class_int>` | separation |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`Color<class_Color>` | title_color |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`Font<class_Font>` | title_font |
|
||||
+---------------------------------+---------------+
|
||||
| :ref:`int<class_int>` | title_offset |
|
||||
+---------------------------------+---------------+
|
||||
|
||||
Signals
|
||||
-------
|
||||
|
||||
.. _class_GraphNode_close_request:
|
||||
.. _class_GraphNode_signal_close_request:
|
||||
|
||||
- **close_request** **(** **)**
|
||||
|
||||
Signal sent on closing the GraphNode.
|
||||
|
||||
.. _class_GraphNode_dragged:
|
||||
.. _class_GraphNode_signal_dragged:
|
||||
|
||||
- **dragged** **(** :ref:`Vector2<class_Vector2>` from, :ref:`Vector2<class_Vector2>` to **)**
|
||||
|
||||
Signal sent when the GraphNode is dragged.
|
||||
|
||||
.. _class_GraphNode_offset_changed:
|
||||
.. _class_GraphNode_signal_offset_changed:
|
||||
|
||||
- **offset_changed** **(** **)**
|
||||
|
||||
Signal sent when the GraphNode is moved.
|
||||
|
||||
.. _class_GraphNode_raise_request:
|
||||
.. _class_GraphNode_signal_raise_request:
|
||||
|
||||
- **raise_request** **(** **)**
|
||||
|
||||
Signal sent when the GraphNode is requested to be displayed over other ones. Happens on focusing (clicking into) the GraphNode.
|
||||
|
||||
.. _class_GraphNode_resize_request:
|
||||
.. _class_GraphNode_signal_resize_request:
|
||||
|
||||
- **resize_request** **(** :ref:`Vector2<class_Vector2>` new_minsize **)**
|
||||
|
||||
@@ -151,6 +151,12 @@ Enumerations
|
||||
|
||||
.. _enum_GraphNode_Overlay:
|
||||
|
||||
.. _class_GraphNode_constant_OVERLAY_DISABLED:
|
||||
|
||||
.. _class_GraphNode_constant_OVERLAY_BREAKPOINT:
|
||||
|
||||
.. _class_GraphNode_constant_OVERLAY_POSITION:
|
||||
|
||||
enum **Overlay**:
|
||||
|
||||
- **OVERLAY_DISABLED** = **0**
|
||||
@@ -167,7 +173,7 @@ A GraphNode is a container defined by a title. It can have 1 or more input and o
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
.. _class_GraphNode_comment:
|
||||
.. _class_GraphNode_property_comment:
|
||||
|
||||
- :ref:`bool<class_bool>` **comment**
|
||||
|
||||
@@ -177,7 +183,7 @@ Property Descriptions
|
||||
| *Getter* | is_comment() |
|
||||
+----------+--------------------+
|
||||
|
||||
.. _class_GraphNode_offset:
|
||||
.. _class_GraphNode_property_offset:
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **offset**
|
||||
|
||||
@@ -189,7 +195,7 @@ Property Descriptions
|
||||
|
||||
The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdit<class_GraphEdit>`. Note that you cannot use position directly, as :ref:`GraphEdit<class_GraphEdit>` is a :ref:`Container<class_Container>`.
|
||||
|
||||
.. _class_GraphNode_overlay:
|
||||
.. _class_GraphNode_property_overlay:
|
||||
|
||||
- :ref:`Overlay<enum_GraphNode_Overlay>` **overlay**
|
||||
|
||||
@@ -199,7 +205,7 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
|
||||
| *Getter* | get_overlay() |
|
||||
+----------+--------------------+
|
||||
|
||||
.. _class_GraphNode_resizable:
|
||||
.. _class_GraphNode_property_resizable:
|
||||
|
||||
- :ref:`bool<class_bool>` **resizable**
|
||||
|
||||
@@ -209,7 +215,7 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
|
||||
| *Getter* | is_resizable() |
|
||||
+----------+----------------------+
|
||||
|
||||
.. _class_GraphNode_selected:
|
||||
.. _class_GraphNode_property_selected:
|
||||
|
||||
- :ref:`bool<class_bool>` **selected**
|
||||
|
||||
@@ -219,7 +225,7 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
|
||||
| *Getter* | is_selected() |
|
||||
+----------+---------------------+
|
||||
|
||||
.. _class_GraphNode_show_close:
|
||||
.. _class_GraphNode_property_show_close:
|
||||
|
||||
- :ref:`bool<class_bool>` **show_close**
|
||||
|
||||
@@ -229,7 +235,7 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
|
||||
| *Getter* | is_close_button_visible() |
|
||||
+----------+------------------------------+
|
||||
|
||||
.. _class_GraphNode_title:
|
||||
.. _class_GraphNode_property_title:
|
||||
|
||||
- :ref:`String<class_String>` **title**
|
||||
|
||||
@@ -242,103 +248,103 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_GraphNode_clear_all_slots:
|
||||
.. _class_GraphNode_method_clear_all_slots:
|
||||
|
||||
- void **clear_all_slots** **(** **)**
|
||||
|
||||
Disable all input and output slots of the GraphNode.
|
||||
|
||||
.. _class_GraphNode_clear_slot:
|
||||
.. _class_GraphNode_method_clear_slot:
|
||||
|
||||
- void **clear_slot** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Disable input and output slot whose index is 'idx'.
|
||||
|
||||
.. _class_GraphNode_get_connection_input_color:
|
||||
.. _class_GraphNode_method_get_connection_input_color:
|
||||
|
||||
- :ref:`Color<class_Color>` **get_connection_input_color** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Return the color of the input connection 'idx'.
|
||||
|
||||
.. _class_GraphNode_get_connection_input_count:
|
||||
.. _class_GraphNode_method_get_connection_input_count:
|
||||
|
||||
- :ref:`int<class_int>` **get_connection_input_count** **(** **)**
|
||||
|
||||
Return the number of enabled input slots (connections) to the GraphNode.
|
||||
|
||||
.. _class_GraphNode_get_connection_input_position:
|
||||
.. _class_GraphNode_method_get_connection_input_position:
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **get_connection_input_position** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Return the position of the input connection 'idx'.
|
||||
|
||||
.. _class_GraphNode_get_connection_input_type:
|
||||
.. _class_GraphNode_method_get_connection_input_type:
|
||||
|
||||
- :ref:`int<class_int>` **get_connection_input_type** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Return the type of the input connection 'idx'.
|
||||
|
||||
.. _class_GraphNode_get_connection_output_color:
|
||||
.. _class_GraphNode_method_get_connection_output_color:
|
||||
|
||||
- :ref:`Color<class_Color>` **get_connection_output_color** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Return the color of the output connection 'idx'.
|
||||
|
||||
.. _class_GraphNode_get_connection_output_count:
|
||||
.. _class_GraphNode_method_get_connection_output_count:
|
||||
|
||||
- :ref:`int<class_int>` **get_connection_output_count** **(** **)**
|
||||
|
||||
Return the number of enabled output slots (connections) of the GraphNode.
|
||||
|
||||
.. _class_GraphNode_get_connection_output_position:
|
||||
.. _class_GraphNode_method_get_connection_output_position:
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **get_connection_output_position** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Return the position of the output connection 'idx'.
|
||||
|
||||
.. _class_GraphNode_get_connection_output_type:
|
||||
.. _class_GraphNode_method_get_connection_output_type:
|
||||
|
||||
- :ref:`int<class_int>` **get_connection_output_type** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Return the type of the output connection 'idx'.
|
||||
|
||||
.. _class_GraphNode_get_slot_color_left:
|
||||
.. _class_GraphNode_method_get_slot_color_left:
|
||||
|
||||
- :ref:`Color<class_Color>` **get_slot_color_left** **(** :ref:`int<class_int>` idx **)** const
|
||||
|
||||
Return the color set to 'idx' left (input) slot.
|
||||
|
||||
.. _class_GraphNode_get_slot_color_right:
|
||||
.. _class_GraphNode_method_get_slot_color_right:
|
||||
|
||||
- :ref:`Color<class_Color>` **get_slot_color_right** **(** :ref:`int<class_int>` idx **)** const
|
||||
|
||||
Return the color set to 'idx' right (output) slot.
|
||||
|
||||
.. _class_GraphNode_get_slot_type_left:
|
||||
.. _class_GraphNode_method_get_slot_type_left:
|
||||
|
||||
- :ref:`int<class_int>` **get_slot_type_left** **(** :ref:`int<class_int>` idx **)** const
|
||||
|
||||
Return the (integer) type of left (input) 'idx' slot.
|
||||
|
||||
.. _class_GraphNode_get_slot_type_right:
|
||||
.. _class_GraphNode_method_get_slot_type_right:
|
||||
|
||||
- :ref:`int<class_int>` **get_slot_type_right** **(** :ref:`int<class_int>` idx **)** const
|
||||
|
||||
Return the (integer) type of right (output) 'idx' slot.
|
||||
|
||||
.. _class_GraphNode_is_slot_enabled_left:
|
||||
.. _class_GraphNode_method_is_slot_enabled_left:
|
||||
|
||||
- :ref:`bool<class_bool>` **is_slot_enabled_left** **(** :ref:`int<class_int>` idx **)** const
|
||||
|
||||
Return true if left (input) slot 'idx' is enabled. False otherwise.
|
||||
|
||||
.. _class_GraphNode_is_slot_enabled_right:
|
||||
.. _class_GraphNode_method_is_slot_enabled_right:
|
||||
|
||||
- :ref:`bool<class_bool>` **is_slot_enabled_right** **(** :ref:`int<class_int>` idx **)** const
|
||||
|
||||
Return true if right (output) slot 'idx' is enabled. False otherwise.
|
||||
|
||||
.. _class_GraphNode_set_slot:
|
||||
.. _class_GraphNode_method_set_slot:
|
||||
|
||||
- void **set_slot** **(** :ref:`int<class_int>` idx, :ref:`bool<class_bool>` enable_left, :ref:`int<class_int>` type_left, :ref:`Color<class_Color>` color_left, :ref:`bool<class_bool>` enable_right, :ref:`int<class_int>` type_right, :ref:`Color<class_Color>` color_right, :ref:`Texture<class_Texture>` custom_left=null, :ref:`Texture<class_Texture>` custom_right=null **)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user