Implement NodeSub2 to AnimationTree & improve mathematical Nodes
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeBlendTree" inherits="AnimationRootNode" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
A sub-tree of blend type [AnimationNode]s used for complex animations. Used by [AnimationTree].
|
||||
A sub-tree of many type [AnimationNode]s used for complex animations. Used by [AnimationTree].
|
||||
</brief_description>
|
||||
<description>
|
||||
This node may contain a sub-tree of any other blend type nodes, such as [AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], [AnimationNodeOneShot], etc. This is one of the most commonly used animation node roots.
|
||||
This animation node may contain a sub-tree of any other type animation nodes, such as [AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], [AnimationNodeOneShot], etc. This is one of the most commonly used animation node roots.
|
||||
An [AnimationNodeOutput] node named [code]output[/code] is created by default.
|
||||
</description>
|
||||
<tutorials>
|
||||
@@ -17,7 +17,7 @@
|
||||
<param index="1" name="node" type="AnimationNode" />
|
||||
<param index="2" name="position" type="Vector2" default="Vector2(0, 0)" />
|
||||
<description>
|
||||
Adds an [AnimationNode] at the given [param position]. The [param name] is used to identify the created sub-node later.
|
||||
Adds an [AnimationNode] at the given [param position]. The [param name] is used to identify the created sub animation node later.
|
||||
</description>
|
||||
</method>
|
||||
<method name="connect_node">
|
||||
@@ -34,35 +34,35 @@
|
||||
<param index="0" name="input_node" type="StringName" />
|
||||
<param index="1" name="input_index" type="int" />
|
||||
<description>
|
||||
Disconnects the node connected to the specified input.
|
||||
Disconnects the animation node connected to the specified input.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node" qualifiers="const">
|
||||
<return type="AnimationNode" />
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<description>
|
||||
Returns the sub-node with the specified [param name].
|
||||
Returns the sub animation node with the specified [param name].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node_position" qualifiers="const">
|
||||
<return type="Vector2" />
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<description>
|
||||
Returns the position of the sub-node with the specified [param name].
|
||||
Returns the position of the sub animation node with the specified [param name].
|
||||
</description>
|
||||
</method>
|
||||
<method name="has_node" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<description>
|
||||
Returns [code]true[/code] if a sub-node with specified [param name] exists.
|
||||
Returns [code]true[/code] if a sub animation node with specified [param name] exists.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_node">
|
||||
<return type="void" />
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<description>
|
||||
Removes a sub-node.
|
||||
Removes a sub animation node.
|
||||
</description>
|
||||
</method>
|
||||
<method name="rename_node">
|
||||
@@ -70,7 +70,7 @@
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<param index="1" name="new_name" type="StringName" />
|
||||
<description>
|
||||
Changes the name of a sub-node.
|
||||
Changes the name of a sub animation node.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_node_position">
|
||||
@@ -78,13 +78,13 @@
|
||||
<param index="0" name="name" type="StringName" />
|
||||
<param index="1" name="position" type="Vector2" />
|
||||
<description>
|
||||
Modifies the position of a sub-node.
|
||||
Modifies the position of a sub animation node.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="graph_offset" type="Vector2" setter="set_graph_offset" getter="get_graph_offset" default="Vector2(0, 0)">
|
||||
The global offset of all sub-nodes.
|
||||
The global offset of all sub animation nodes.
|
||||
</member>
|
||||
</members>
|
||||
<signals>
|
||||
|
||||
Reference in New Issue
Block a user