doc: Use self-closing tags for return and argument
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
This commit is contained in:
parent
a1c19b9a1e
commit
7adf4cc9b5
408 changed files with 14025 additions and 28050 deletions
|
|
@ -11,53 +11,42 @@
|
|||
</tutorials>
|
||||
<methods>
|
||||
<method name="clear_default_input_values">
|
||||
<return type="void">
|
||||
</return>
|
||||
<return type="void" />
|
||||
<description>
|
||||
Clears the default input ports value.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_default_input_values" qualifiers="const">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<return type="Array" />
|
||||
<description>
|
||||
Returns an [Array] containing default values for all of the input ports of the node in the form [code][index0, value0, index1, value1, ...][/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_input_port_default_value" qualifiers="const">
|
||||
<return type="Variant">
|
||||
</return>
|
||||
<argument index="0" name="port" type="int">
|
||||
</argument>
|
||||
<return type="Variant" />
|
||||
<argument index="0" name="port" type="int" />
|
||||
<description>
|
||||
Returns the default value of the input [code]port[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_input_port_default_value">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="port" type="int">
|
||||
</argument>
|
||||
<return type="void" />
|
||||
<argument index="0" name="port" type="int" />
|
||||
<description>
|
||||
Removes the default value of the input [code]port[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_default_input_values">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="values" type="Array">
|
||||
</argument>
|
||||
<return type="void" />
|
||||
<argument index="0" name="values" type="Array" />
|
||||
<description>
|
||||
Sets the default input ports values using an [Array] of the form [code][index0, value0, index1, value1, ...][/code]. For example: [code][0, Vector3(0, 0, 0), 1, Vector3(0, 0, 0)][/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_input_port_default_value">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="port" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="Variant">
|
||||
</argument>
|
||||
<return type="void" />
|
||||
<argument index="0" name="port" type="int" />
|
||||
<argument index="1" name="value" type="Variant" />
|
||||
<description>
|
||||
Sets the default value for the selected input [code]port[/code].
|
||||
</description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue