2018-07-26 17:56:21 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 09:03:48 +08:00
<class name= "AnimationNodeAnimation" inherits= "AnimationRootNode" version= "4.0" >
2018-07-26 17:56:21 +08:00
<brief_description >
2019-06-04 08:01:24 +08:00
Input animation to use in an [AnimationNodeBlendTree].
2018-07-26 17:56:21 +08:00
</brief_description>
<description >
2019-06-04 08:01:24 +08:00
A resource to add to an [AnimationNodeBlendTree]. Only features one output set using the [member animation] property. Use it as an input for [AnimationNode] that blend animations together.
2018-07-26 17:56:21 +08:00
</description>
<tutorials >
2021-11-15 17:43:07 +08:00
<link title= "AnimationTree" > $DOCS_URL/tutorials/animation/animation_tree.html</link>
2020-10-01 16:34:47 +08: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 17:56:21 +08:00
</tutorials>
<members >
2021-06-06 03:24:24 +08:00
<member name= "animation" type= "StringName" setter= "set_animation" getter= "get_animation" default= "&""" >
2019-06-04 08:01:24 +08:00
Animation to use as an output. It is one of the animations provided by [member AnimationTree.anim_player].
2018-07-26 17:56:21 +08:00
</member>
2021-10-15 21:25:00 +08: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 17:56:21 +08:00
</members>
2021-10-15 21:25:00 +08:00
<constants >
<constant name= "PLAY_MODE_FORWARD" value= "0" enum= "PlayMode" >
</constant>
<constant name= "PLAY_MODE_BACKWARD" value= "1" enum= "PlayMode" >
</constant>
</constants>
2018-07-26 17:56:21 +08:00
</class>