Make the dragging connections more user-friendly in visual shaders

This commit is contained in:
Yuri Roubinski
2023-06-22 10:33:40 +03:00
parent 0c2144da90
commit 01101134f4
7 changed files with 60 additions and 6 deletions

View File

@@ -16,6 +16,13 @@
Clears the default input ports value.
</description>
</method>
<method name="get_default_input_port" qualifiers="const">
<return type="int" />
<param index="0" name="type" type="int" enum="VisualShaderNode.PortType" />
<description>
Returns the input port which should be connected by default when this node is created as a result of dragging a connection from an existing node to the empty space on the graph.
</description>
</method>
<method name="get_default_input_values" qualifiers="const">
<return type="Array" />
<description>