summaryrefslogtreecommitdiffstats
path: root/doc/classes/GraphNode.xml
diff options
context:
space:
mode:
authorMansur Isaev <737dab2f169a@mail.ru>2023-10-02 09:40:21 +0400
committerRémi Verschelde <rverschelde@gmail.com>2024-01-08 08:30:10 +0100
commit631d722674588bfca4f833c3534872b0c3805472 (patch)
treeae3ce90d25f99384276ee6c1b146f9dd0feae4ba /doc/classes/GraphNode.xml
parent89cc635c0554cb2e518c830969ca4c5eedda0f4e (diff)
downloadredot-engine-631d722674588bfca4f833c3534872b0c3805472.tar.gz
Add `set_slot_custom_icon` and `get_slot_custom_icon` to GraphNode
Diffstat (limited to 'doc/classes/GraphNode.xml')
-rw-r--r--doc/classes/GraphNode.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/classes/GraphNode.xml b/doc/classes/GraphNode.xml
index 9e1392567a..5bb3a25158 100644
--- a/doc/classes/GraphNode.xml
+++ b/doc/classes/GraphNode.xml
@@ -116,6 +116,20 @@
Returns the right (output) [Color] of the slot with the given [param slot_index].
</description>
</method>
+ <method name="get_slot_custom_icon_left" qualifiers="const">
+ <return type="Texture2D" />
+ <param index="0" name="slot_index" type="int" />
+ <description>
+ Returns the left (input) custom [Texture2D] of the slot with the given [param slot_index].
+ </description>
+ </method>
+ <method name="get_slot_custom_icon_right" qualifiers="const">
+ <return type="Texture2D" />
+ <param index="0" name="slot_index" type="int" />
+ <description>
+ Returns the right (output) custom [Texture2D] of the slot with the given [param slot_index].
+ </description>
+ </method>
<method name="get_slot_type_left" qualifiers="const">
<return type="int" />
<param index="0" name="slot_index" type="int" />
@@ -195,6 +209,22 @@
Sets the [Color] of the right (output) side of the slot with the given [param slot_index] to [param color].
</description>
</method>
+ <method name="set_slot_custom_icon_left">
+ <return type="void" />
+ <param index="0" name="slot_index" type="int" />
+ <param index="1" name="custom_icon" type="Texture2D" />
+ <description>
+ Sets the custom [Texture2D] of the left (input) side of the slot with the given [param slot_index] to [param custom_icon].
+ </description>
+ </method>
+ <method name="set_slot_custom_icon_right">
+ <return type="void" />
+ <param index="0" name="slot_index" type="int" />
+ <param index="1" name="custom_icon" type="Texture2D" />
+ <description>
+ Sets the custom [Texture2D] of the right (output) side of the slot with the given [param slot_index] to [param custom_icon].
+ </description>
+ </method>
<method name="set_slot_draw_stylebox">
<return type="void" />
<param index="0" name="slot_index" type="int" />