Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AnimationNodeAdd3
继承: AnimationNodeSync < AnimationNode < Resource < RefCounted < Object
在 AnimationNodeBlendTree 中将三个动画中的两个动画相加。
描述
一种可以添加到 AnimationNodeBlendTree(动画混合树)中的资源。它会根据 amount(混合量)的值,在三个动画中选择两个进行加法混合。
这个动画节点有三个输入端:
作为基础的动画(即要往上面添加效果的动画)
一个 “-add” 动画,当混合量为负数时,会与基础动画进行混合
一个 “+add” 动画,当混合量为正数时,会与基础动画进行混合
如果 amount 的绝对值大于 1.0,那么连接到 “in” 端口的动画会与连接到 “-add” 或 “+add” 端口的动画进行增强混合。
注意: 正负号仅用于区分端口,加法混合始终是基于绝对值进行的,这意味着连接到 “-add” 端口的动画并不会从 “in” 端口的动画中做减法。