summaryrefslogtreecommitdiff
path: root/doc/classes/AnimationNodeOneShot.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-13 17:02:07 +0100
committerGitHub <noreply@github.com>2020-03-13 17:02:07 +0100
commit0ed8d05314c9c1deeb6f45da3960b31aef7deed7 (patch)
tree1bf685c73ef05b90b3342869dae1785f72aa9cd5 /doc/classes/AnimationNodeOneShot.xml
parent88dd5d374fd4f9653b37b93a08df6ddac035f0ea (diff)
parente103f21a40ef157cd263b60cf0d9c5750156ec98 (diff)
Merge pull request #36773 from KoBeWi/thats_a_lotta_docs
Add LOTS of missing docs
Diffstat (limited to 'doc/classes/AnimationNodeOneShot.xml')
-rw-r--r--doc/classes/AnimationNodeOneShot.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/classes/AnimationNodeOneShot.xml b/doc/classes/AnimationNodeOneShot.xml
index b6e4ed9c98..4ba0b82df6 100644
--- a/doc/classes/AnimationNodeOneShot.xml
+++ b/doc/classes/AnimationNodeOneShot.xml
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AnimationNodeOneShot" inherits="AnimationNode" version="4.0">
<brief_description>
+ Plays an animation once in [AnimationNodeBlendTree].
</brief_description>
<description>
+ A resource to add to an [AnimationNodeBlendTree]. This node will execute a sub-animation and return once it finishes. Blend times for fading in and out can be customized, as well as filters.
</description>
<tutorials>
<link>https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html</link>
@@ -25,10 +27,13 @@
</methods>
<members>
<member name="autorestart" type="bool" setter="set_autorestart" getter="has_autorestart" default="false">
+ If [code]true[/code], the sub-animation will restart automatically after finishing.
</member>
<member name="autorestart_delay" type="float" setter="set_autorestart_delay" getter="get_autorestart_delay" default="1.0">
+ The delay after which the automatic restart is triggered, in seconds.
</member>
<member name="autorestart_random_delay" type="float" setter="set_autorestart_random_delay" getter="get_autorestart_random_delay" default="0.0">
+ If [member autorestart] is [code]true[/code], a random additional delay (in seconds) between 0 and this value will be added to [member autorestart_delay].
</member>
<member name="fadein_time" type="float" setter="set_fadein_time" getter="get_fadein_time" default="0.1">
</member>