summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-16 19:29:38 +0100
committerGitHub <noreply@github.com>2020-03-16 19:29:38 +0100
commitf9decec1bc1164f61e6d238e9ea7dad0e6858149 (patch)
tree6c8a5ed23d6a009ad46b91b0450f74eb082c63df /doc/classes
parent2aa832f415a0132f66d58e54fb1386420cbb0c7f (diff)
parent422926cfc641f895a84c9767aa418c22bf0f06ef (diff)
Merge pull request #36491 from AndreaCatania/edit_node_anim_state_mac
Added new method to edit an already added node to anim 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 b647ff70b8..4ff39b7500 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>