summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorAndrea Catania <info@andreacatania.com>2020-03-16 17:42:29 +0100
committerAndrea Catania <info@andreacatania.com>2020-03-16 17:42:29 +0100
commit422926cfc641f895a84c9767aa418c22bf0f06ef (patch)
tree72c1546de9c83943b3256cfd5f2c7fdf045992b5 /doc/classes
parenta24aafcb92992f860694bf411acab1080fc0b3db (diff)
Added new method to replace an already added node to the animation state machine
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/AnimationNodeStateMachine.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/classes/AnimationNodeStateMachine.xml b/doc/classes/AnimationNodeStateMachine.xml
index 39a9af5ead..04cf7489c0 100644
--- a/doc/classes/AnimationNodeStateMachine.xml
+++ b/doc/classes/AnimationNodeStateMachine.xml
@@ -28,6 +28,17 @@
Adds a new node to the graph. The [code]position[/code] is used for display in the editor.
</description>
</method>
+ <method name="replace_node">
+ <return type="void">
+ </return>
+ <argument index="0" name="name" type="String">
+ </argument>
+ <argument index="1" name="node" type="AnimationNode">
+ </argument>
+ <description>
+ Replaces the node and keeps its transitions unchanged.
+ </description>
+ </method>
<method name="add_transition">
<return type="void">
</return>