2018-07-26 11:56:21 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 10:08:05 +02:00
<class name= "AnimationNodeAnimation" inherits= "AnimationRootNode" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2018-07-26 11:56:21 +02:00
<brief_description >
2023-04-28 17:16:44 +02:00
An input animation for an [AnimationNodeBlendTree].
2018-07-26 11:56:21 +02:00
</brief_description>
<description >
2023-04-28 17:16:44 +02:00
A resource to add to an [AnimationNodeBlendTree]. Only has one output port using the [member animation] property. Used as an input for [AnimationNode]s that blend animations together.
2018-07-26 11:56:21 +02:00
</description>
<tutorials >
2023-04-28 17:16:44 +02:00
<link title= "Using AnimationTree" > $DOCS_URL/tutorials/animation/animation_tree.html</link>
2020-10-01 10:34:47 +02:00
<link title= "3D Platformer Demo" > https://godotengine.org/asset-library/asset/125</link>
<link title= "Third Person Shooter Demo" > https://godotengine.org/asset-library/asset/678</link>
2018-07-26 11:56:21 +02:00
</tutorials>
<members >
2021-06-05 21:24:24 +02:00
<member name= "animation" type= "StringName" setter= "set_animation" getter= "get_animation" default= "&""" >
2019-06-04 02:01:24 +02:00
Animation to use as an output. It is one of the animations provided by [member AnimationTree.anim_player].
2018-07-26 11:56:21 +02:00
</member>
2021-10-15 15:25:00 +02:00
<member name= "play_mode" type= "int" setter= "set_play_mode" getter= "get_play_mode" enum= "AnimationNodeAnimation.PlayMode" default= "0" >
Determines the playback direction of the animation.
</member>
2018-07-26 11:56:21 +02:00
</members>
2021-10-15 15:25:00 +02:00
<constants >
<constant name= "PLAY_MODE_FORWARD" value= "0" enum= "PlayMode" >
2023-02-11 19:14:35 +01:00
Plays animation in forward direction.
2021-10-15 15:25:00 +02:00
</constant>
<constant name= "PLAY_MODE_BACKWARD" value= "1" enum= "PlayMode" >
2023-02-11 19:14:35 +01:00
Plays animation in backward direction.
2021-10-15 15:25:00 +02:00
</constant>
</constants>
2018-07-26 11:56:21 +02:00
</class>