diff options
author | Hendrik Brucker <hendrik.brucker@mail.de> | 2024-05-07 16:48:03 +0200 |
---|---|---|
committer | Hendrik Brucker <hendrik.brucker@mail.de> | 2024-05-13 03:26:01 +0200 |
commit | 62776842df7b23324b7d03b278f66f98ac9f1d1e (patch) | |
tree | 9fcee79b8083c3b2e7fea9fe960369ce53be63c0 /doc/classes/VisualShaderNodeReroute.xml | |
parent | bdc0316217940a8ccc80ce536547d42e6477adf4 (diff) | |
download | redot-engine-62776842df7b23324b7d03b278f66f98ac9f1d1e.tar.gz |
[VisualShader] Add reroute node and improve port drawing
Diffstat (limited to 'doc/classes/VisualShaderNodeReroute.xml')
-rw-r--r-- | doc/classes/VisualShaderNodeReroute.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/classes/VisualShaderNodeReroute.xml b/doc/classes/VisualShaderNodeReroute.xml new file mode 100644 index 0000000000..1baaa7bbb6 --- /dev/null +++ b/doc/classes/VisualShaderNodeReroute.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="VisualShaderNodeReroute" inherits="VisualShaderNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + A node that allows rerouting a connection within the visual shader graph. + </brief_description> + <description> + Automatically adapts its port type to the type of the incoming connection and ensures valid connections. + </description> + <tutorials> + </tutorials> + <methods> + <method name="get_port_type" qualifiers="const"> + <return type="int" enum="VisualShaderNode.PortType" /> + <description> + Returns the port type of the reroute node. + </description> + </method> + </methods> +</class> |