mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add set_slot_custom_icon and get_slot_custom_icon to GraphNode
This commit is contained in:
committed by
Rémi Verschelde
parent
89cc635c05
commit
631d722674
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user