summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-22 12:53:43 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-22 12:53:43 +0200
commite7dc4b4b6bb67efd708adb8eb01e37c22a06dc30 (patch)
treebf435fb0b29010739b6ad5a4ceb89c80ffc2853e
parent4e391ea81eca73e8d4ce7c582e1948a20eaaf80e (diff)
parent1f02426b2fa219b7033c10010b8ca7ef471a18a0 (diff)
downloadredot-engine-e7dc4b4b6bb67efd708adb8eb01e37c22a06dc30.tar.gz
Merge pull request #90962 from TokageItLab/2or3
Correct AnimationNode documentation where it mentions multiple inputs
-rw-r--r--doc/classes/AnimationNode.xml2
-rw-r--r--doc/classes/AnimationNodeSync.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/AnimationNode.xml b/doc/classes/AnimationNode.xml
index 960bbe68ad..4e093cb887 100644
--- a/doc/classes/AnimationNode.xml
+++ b/doc/classes/AnimationNode.xml
@@ -7,7 +7,7 @@
Base resource for [AnimationTree] nodes. In general, it's not used directly, but you can create custom ones with custom blending formulas.
Inherit this when creating animation nodes mainly for use in [AnimationNodeBlendTree], otherwise [AnimationRootNode] should be used instead.
You can access the time information as read-only parameter which is processed and stored in the previous frame for all nodes except [AnimationNodeOutput].
- [b]Note:[/b] If more than two inputs exist in the [AnimationNode], which time information takes precedence depends on the type of [AnimationNode].
+ [b]Note:[/b] If multiple inputs exist in the [AnimationNode], which time information takes precedence depends on the type of [AnimationNode].
[codeblock]
var current_length = $AnimationTree[parameters/AnimationNodeName/current_length]
var current_position = $AnimationTree[parameters/AnimationNodeName/current_position]
diff --git a/doc/classes/AnimationNodeSync.xml b/doc/classes/AnimationNodeSync.xml
index e9e1519672..57c79378c0 100644
--- a/doc/classes/AnimationNodeSync.xml
+++ b/doc/classes/AnimationNodeSync.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AnimationNodeSync" inherits="AnimationNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
- Base class for [AnimationNode]s with more than two input ports that must be synchronized.
+ Base class for [AnimationNode]s with multiple input ports that must be synchronized.
</brief_description>
<description>
An animation node used to combine, mix, or blend two or more animations together while keeping them synchronized within an [AnimationTree].