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...
AnimationRootNode
继承: AnimationNode < Resource < RefCounted < Object
派生: AnimationNodeAnimation, AnimationNodeBlendSpace1D, AnimationNodeBlendSpace2D, AnimationNodeBlendTree, AnimationNodeStateMachine
包含一个或多个复合动画的 AnimationNode 的基类。通常用于 AnimationTree.tree_root。
描述
AnimationRootNode 是存放完整动画的 AnimationNode 的基类。完整动画指的是 AnimationNodeBlendTree 中 AnimationNodeOutput 的输出,或者其他 AnimationRootNode 的输出。可以在 AnimationTree.tree_root 或其他 AnimationRootNode 中使用。
内置根节点有 AnimationNodeBlendTree(能够使用不同的模式将节点进行混合)、AnimationNodeStateMachine(能够使用状态机模式配置节点之间的混合和过渡)、AnimationNodeBlendSpace2D(能够在三个 AnimationNode 之间进行线性混合)、AnimationNodeBlendSpace1D(能够在两个 AnimationNode 之间进行线性混合)等。