Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
AnimationNodeAnimation¶
继承: AnimationRootNode < AnimationNode < Resource < RefCounted < Object
AnimationNodeBlendTree 的输入动画。
描述¶
一种添加到 AnimationNodeBlendTree 的资源。只有一个输出端口,使用的是 animation 属性。可用作 AnimationNode 的输入,将动画混合在一起。
教程¶
属性¶
|
||
|
枚举¶
enum PlayMode:
PlayMode PLAY_MODE_FORWARD = 0
正序播放动画。
PlayMode PLAY_MODE_BACKWARD = 1
逆序播放动画。
属性说明¶
StringName animation = &""
void set_animation ( StringName value )
StringName get_animation ( )
作为输出使用的动画。它是 AnimationTree.anim_player 提供的动画之一。
PlayMode play_mode = 0
确定动画的播放方向。