From ad10d1a7269cc25e5cea6537fbd0d0f98b7eb61b Mon Sep 17 00:00:00 2001 From: aXu-AP <1621768+aXu-AP@users.noreply.github.com> Date: Fri, 20 Jan 2023 21:20:15 +0200 Subject: [PATCH] Add missing property and method descriptions to AnimationNodeTransition class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> Co-Authored-By: RĂ©mi Verschelde --- doc/classes/AnimationNodeTransition.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/classes/AnimationNodeTransition.xml b/doc/classes/AnimationNodeTransition.xml index bca94a568a47..90bae41586fe 100644 --- a/doc/classes/AnimationNodeTransition.xml +++ b/doc/classes/AnimationNodeTransition.xml @@ -16,18 +16,21 @@ + Returns the input index which corresponds to [param caption]. If not found, returns [code]-1[/code]. + Returns the name of the input at the given [param input] index. This name is displayed in the editor next to the node input. + Returns [code]true[/code] if auto-advance is enabled for the given [param input] index. @@ -35,6 +38,7 @@ + Enables or disables auto-advance for the given [param input] index. If enabled, state changes to the next input after playing the animation once. If enabled for the last input state, it loops to the first. @@ -42,17 +46,19 @@ + Sets the name of the input at the given [param input] index. This name is displayed in the editor next to the node input. - The number of enabled input ports for this node. + The number of enabled input ports for this node. The maximum is [code]31[/code]. If [code]true[/code], the destination animation is played back from the beginning when switched. + Determines how cross-fading between animations is eased. If empty, the transition will be linear. Cross-fading time (in seconds) between each animation connected to the inputs.