Rename the argument tag to param in XML documentation
This commit is contained in:
parent
35c1eae8d7
commit
c5d7115038
432 changed files with 10529 additions and 10529 deletions
|
|
@ -19,7 +19,7 @@
|
|||
</method>
|
||||
<method name="_get_child_by_name" qualifiers="virtual const">
|
||||
<return type="AnimationNode" />
|
||||
<argument index="0" name="name" type="StringName" />
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<description>
|
||||
Gets a child node by index (used by editors inheriting from [AnimationRootNode]).
|
||||
</description>
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
</method>
|
||||
<method name="_get_parameter_default_value" qualifiers="virtual const">
|
||||
<return type="Variant" />
|
||||
<argument index="0" name="parameter" type="StringName" />
|
||||
<param index="0" name="parameter" type="StringName" />
|
||||
<description>
|
||||
Gets the default value of a parameter. Parameters are custom local memory used for your nodes, given a resource can be reused in multiple trees.
|
||||
</description>
|
||||
|
|
@ -51,9 +51,9 @@
|
|||
</method>
|
||||
<method name="_process" qualifiers="virtual const">
|
||||
<return type="float" />
|
||||
<argument index="0" name="time" type="float" />
|
||||
<argument index="1" name="seek" type="bool" />
|
||||
<argument index="2" name="seek_root" type="bool" />
|
||||
<param index="0" name="time" type="float" />
|
||||
<param index="1" name="seek" type="bool" />
|
||||
<param index="2" name="seek_root" type="bool" />
|
||||
<description>
|
||||
User-defined callback called when a custom node is processed. The [code]time[/code] parameter is a relative delta, unless [code]seek[/code] is [code]true[/code], in which case it is absolute.
|
||||
Here, call the [method blend_input], [method blend_node] or [method blend_animation] functions. You can also use [method get_parameter] and [method set_parameter] to modify local memory.
|
||||
|
|
@ -62,47 +62,47 @@
|
|||
</method>
|
||||
<method name="add_input">
|
||||
<return type="void" />
|
||||
<argument index="0" name="name" type="String" />
|
||||
<param index="0" name="name" type="String" />
|
||||
<description>
|
||||
Adds an input to the node. This is only useful for nodes created for use in an [AnimationNodeBlendTree].
|
||||
</description>
|
||||
</method>
|
||||
<method name="blend_animation">
|
||||
<return type="void" />
|
||||
<argument index="0" name="animation" type="StringName" />
|
||||
<argument index="1" name="time" type="float" />
|
||||
<argument index="2" name="delta" type="float" />
|
||||
<argument index="3" name="seeked" type="bool" />
|
||||
<argument index="4" name="seek_root" type="bool" />
|
||||
<argument index="5" name="blend" type="float" />
|
||||
<argument index="6" name="pingponged" type="int" default="0" />
|
||||
<param index="0" name="animation" type="StringName" />
|
||||
<param index="1" name="time" type="float" />
|
||||
<param index="2" name="delta" type="float" />
|
||||
<param index="3" name="seeked" type="bool" />
|
||||
<param index="4" name="seek_root" type="bool" />
|
||||
<param index="5" name="blend" type="float" />
|
||||
<param index="6" name="pingponged" type="int" default="0" />
|
||||
<description>
|
||||
Blend an animation by [code]blend[/code] amount (name must be valid in the linked [AnimationPlayer]). A [code]time[/code] and [code]delta[/code] may be passed, as well as whether [code]seek[/code] happened.
|
||||
</description>
|
||||
</method>
|
||||
<method name="blend_input">
|
||||
<return type="float" />
|
||||
<argument index="0" name="input_index" type="int" />
|
||||
<argument index="1" name="time" type="float" />
|
||||
<argument index="2" name="seek" type="bool" />
|
||||
<argument index="3" name="seek_root" type="bool" />
|
||||
<argument index="4" name="blend" type="float" />
|
||||
<argument index="5" name="filter" type="int" enum="AnimationNode.FilterAction" default="0" />
|
||||
<argument index="6" name="sync" type="bool" default="true" />
|
||||
<param index="0" name="input_index" type="int" />
|
||||
<param index="1" name="time" type="float" />
|
||||
<param index="2" name="seek" type="bool" />
|
||||
<param index="3" name="seek_root" type="bool" />
|
||||
<param index="4" name="blend" type="float" />
|
||||
<param index="5" name="filter" type="int" enum="AnimationNode.FilterAction" default="0" />
|
||||
<param index="6" name="sync" type="bool" default="true" />
|
||||
<description>
|
||||
Blend an input. This is only useful for nodes created for an [AnimationNodeBlendTree]. The [code]time[/code] parameter is a relative delta, unless [code]seek[/code] is [code]true[/code], in which case it is absolute. A filter mode may be optionally passed (see [enum FilterAction] for options).
|
||||
</description>
|
||||
</method>
|
||||
<method name="blend_node">
|
||||
<return type="float" />
|
||||
<argument index="0" name="name" type="StringName" />
|
||||
<argument index="1" name="node" type="AnimationNode" />
|
||||
<argument index="2" name="time" type="float" />
|
||||
<argument index="3" name="seek" type="bool" />
|
||||
<argument index="4" name="seek_root" type="bool" />
|
||||
<argument index="5" name="blend" type="float" />
|
||||
<argument index="6" name="filter" type="int" enum="AnimationNode.FilterAction" default="0" />
|
||||
<argument index="7" name="sync" type="bool" default="true" />
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<param index="1" name="node" type="AnimationNode" />
|
||||
<param index="2" name="time" type="float" />
|
||||
<param index="3" name="seek" type="bool" />
|
||||
<param index="4" name="seek_root" type="bool" />
|
||||
<param index="5" name="blend" type="float" />
|
||||
<param index="6" name="filter" type="int" enum="AnimationNode.FilterAction" default="0" />
|
||||
<param index="7" name="sync" type="bool" default="true" />
|
||||
<description>
|
||||
Blend another animation node (in case this node contains children animation nodes). This function is only useful if you inherit from [AnimationRootNode] instead, else editors will not display your node for addition.
|
||||
</description>
|
||||
|
|
@ -115,44 +115,44 @@
|
|||
</method>
|
||||
<method name="get_input_name">
|
||||
<return type="String" />
|
||||
<argument index="0" name="input" type="int" />
|
||||
<param index="0" name="input" type="int" />
|
||||
<description>
|
||||
Gets the name of an input by index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_parameter" qualifiers="const">
|
||||
<return type="Variant" />
|
||||
<argument index="0" name="name" type="StringName" />
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<description>
|
||||
Gets the value of a parameter. Parameters are custom local memory used for your nodes, given a resource can be reused in multiple trees.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_path_filtered" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="path" type="NodePath" />
|
||||
<param index="0" name="path" type="NodePath" />
|
||||
<description>
|
||||
Returns whether the given path is filtered.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_input">
|
||||
<return type="void" />
|
||||
<argument index="0" name="index" type="int" />
|
||||
<param index="0" name="index" type="int" />
|
||||
<description>
|
||||
Removes an input, call this only when inactive.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_filter_path">
|
||||
<return type="void" />
|
||||
<argument index="0" name="path" type="NodePath" />
|
||||
<argument index="1" name="enable" type="bool" />
|
||||
<param index="0" name="path" type="NodePath" />
|
||||
<param index="1" name="enable" type="bool" />
|
||||
<description>
|
||||
Adds or removes a path for the filter.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_parameter">
|
||||
<return type="void" />
|
||||
<argument index="0" name="name" type="StringName" />
|
||||
<argument index="1" name="value" type="Variant" />
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<param index="1" name="value" type="Variant" />
|
||||
<description>
|
||||
Sets a custom parameter. These are used as local memory, because resources can be reused across the tree or scenes.
|
||||
</description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue