Up to date

This page is up to date for Godot 4.1. If you still find outdated information, please open an issue.

AnimationNodeAnimation

Inherits: AnimationRootNode < AnimationNode < Resource < RefCounted < Object

An input animation for an AnimationNodeBlendTree.

Description

A resource to add to an AnimationNodeBlendTree. Only has one output port using the animation property. Used as an input for AnimationNodes that blend animations together.

Tutorials

Properties

StringName

animation

&""

PlayMode

play_mode

0


Enumerations

enum PlayMode:

PlayMode PLAY_MODE_FORWARD = 0

Plays animation in forward direction.

PlayMode PLAY_MODE_BACKWARD = 1

Plays animation in backward direction.


Property Descriptions

StringName animation = &""

Animation to use as an output. It is one of the animations provided by AnimationTree.anim_player.


PlayMode play_mode = 0

Determines the playback direction of the animation.