committed by
Rémi Verschelde
parent
34dc32aeb8
commit
3739f03d98
@ -1,8 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeBlendTree" inherits="AnimationRootNode" version="3.2">
|
||||
<brief_description>
|
||||
[AnimationTree] node resource that contains many blend type nodes.
|
||||
</brief_description>
|
||||
<description>
|
||||
This node may contain a sub-tree of any other blend type nodes, such as mix, blend2, blend3, one shot, etc. This is one of the most commonly used roots.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link>https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html</link>
|
||||
@ -18,6 +20,7 @@
|
||||
<argument index="2" name="position" type="Vector2" default="Vector2( 0, 0 )">
|
||||
</argument>
|
||||
<description>
|
||||
Adds an [AnimationNode] at the given [code]position[/code]. The [code]name[/code] is used to identify the created sub-node later.
|
||||
</description>
|
||||
</method>
|
||||
<method name="connect_node">
|
||||
@ -30,6 +33,7 @@
|
||||
<argument index="2" name="output_node" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Connects the output of an [AnimationNode] as input for another [AnimationNode], at the input port specified by [code]input_index[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="disconnect_node">
|
||||
@ -40,6 +44,7 @@
|
||||
<argument index="1" name="input_index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Disconnects the node connected to the specified input.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node" qualifiers="const">
|
||||
@ -48,6 +53,7 @@
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the sub-node with the specified [code]name[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node_position" qualifiers="const">
|
||||
@ -56,6 +62,7 @@
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the position of the sub-node with the specified [code]name[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="has_node" qualifiers="const">
|
||||
@ -64,6 +71,7 @@
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Returns [code]true[/code] if a sub-node with specified [code]name[/code] exists.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_node">
|
||||
@ -72,6 +80,7 @@
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Removes a sub-node.
|
||||
</description>
|
||||
</method>
|
||||
<method name="rename_node">
|
||||
@ -82,6 +91,7 @@
|
||||
<argument index="1" name="new_name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Changes the name of a sub-node.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_node_position">
|
||||
@ -92,25 +102,33 @@
|
||||
<argument index="1" name="position" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
Modifies the position of a sub-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.
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="CONNECTION_OK" value="0">
|
||||
The connection was successful.
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_NO_INPUT" value="1">
|
||||
The input node is [code]null[/code].
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_NO_INPUT_INDEX" value="2">
|
||||
The specified input port is out of range.
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_NO_OUTPUT" value="3">
|
||||
The output node is [code]null[/code].
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_SAME_NODE" value="4">
|
||||
Input and output nodes are the same.
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_CONNECTION_EXISTS" value="5">
|
||||
The specified connection already exists.
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user