mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
78 lines
2.6 KiB
XML
78 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptLists" inherits="VisualScriptNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
A Visual Script virtual class for in-graph editable nodes.
|
|
</brief_description>
|
|
<description>
|
|
A Visual Script virtual class that defines the shape and the default behavior of the nodes that have to be in-graph editable nodes.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="add_input_data_port">
|
|
<return type="void" />
|
|
<argument index="0" name="type" type="int" enum="Variant.Type" />
|
|
<argument index="1" name="name" type="String" />
|
|
<argument index="2" name="index" type="int" />
|
|
<description>
|
|
Adds an input port to the Visual Script node.
|
|
</description>
|
|
</method>
|
|
<method name="add_output_data_port">
|
|
<return type="void" />
|
|
<argument index="0" name="type" type="int" enum="Variant.Type" />
|
|
<argument index="1" name="name" type="String" />
|
|
<argument index="2" name="index" type="int" />
|
|
<description>
|
|
Adds an output port to the Visual Script node.
|
|
</description>
|
|
</method>
|
|
<method name="remove_input_data_port">
|
|
<return type="void" />
|
|
<argument index="0" name="index" type="int" />
|
|
<description>
|
|
Removes an input port from the Visual Script node.
|
|
</description>
|
|
</method>
|
|
<method name="remove_output_data_port">
|
|
<return type="void" />
|
|
<argument index="0" name="index" type="int" />
|
|
<description>
|
|
Removes an output port from the Visual Script node.
|
|
</description>
|
|
</method>
|
|
<method name="set_input_data_port_name">
|
|
<return type="void" />
|
|
<argument index="0" name="index" type="int" />
|
|
<argument index="1" name="name" type="String" />
|
|
<description>
|
|
Sets the name of an input port.
|
|
</description>
|
|
</method>
|
|
<method name="set_input_data_port_type">
|
|
<return type="void" />
|
|
<argument index="0" name="index" type="int" />
|
|
<argument index="1" name="type" type="int" enum="Variant.Type" />
|
|
<description>
|
|
Sets the type of an input port.
|
|
</description>
|
|
</method>
|
|
<method name="set_output_data_port_name">
|
|
<return type="void" />
|
|
<argument index="0" name="index" type="int" />
|
|
<argument index="1" name="name" type="String" />
|
|
<description>
|
|
Sets the name of an output port.
|
|
</description>
|
|
</method>
|
|
<method name="set_output_data_port_type">
|
|
<return type="void" />
|
|
<argument index="0" name="index" type="int" />
|
|
<argument index="1" name="type" type="int" enum="Variant.Type" />
|
|
<description>
|
|
Sets the type of an output port.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
</class>
|