summaryrefslogtreecommitdiff
path: root/doc/classes/AnimationNodeTransition.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-16 16:53:34 +0200
committerGitHub <noreply@github.com>2022-07-16 16:53:34 +0200
commitc39223e0db14b58bf48aafc22497d076a4540966 (patch)
tree4934526266ca53da407e61820e4c1be802bb6f15 /doc/classes/AnimationNodeTransition.xml
parentae5668f81e9ed7ae9e9a13b120d89de884b718be (diff)
parent9be288edf9475d4e85b533dd4681bbccd471f6d5 (diff)
Merge pull request #62623 from TokageItLab/refactor-sync-animtree
Add `sync` to `NodeTransition` and `BlendSpace1D/2D` and refactor `sync` in `AnimationTree`
Diffstat (limited to 'doc/classes/AnimationNodeTransition.xml')
-rw-r--r--doc/classes/AnimationNodeTransition.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/classes/AnimationNodeTransition.xml b/doc/classes/AnimationNodeTransition.xml
index 70c874d251..7e757d4640 100644
--- a/doc/classes/AnimationNodeTransition.xml
+++ b/doc/classes/AnimationNodeTransition.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="AnimationNodeTransition" inherits="AnimationNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
+<class name="AnimationNodeTransition" inherits="AnimationNodeSync" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
A generic animation transition node for [AnimationTree].
</brief_description>
@@ -40,6 +40,9 @@
</method>
</methods>
<members>
+ <member name="from_start" type="bool" setter="set_from_start" getter="is_from_start" default="true">
+ If [code]true[/code], the destination animation is played back from the beginning when switched.
+ </member>
<member name="input_count" type="int" setter="set_enabled_inputs" getter="get_enabled_inputs" default="0">
The number of available input ports for this node.
</member>