2018-07-26 17:56:21 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-02-14 21:18:53 +08:00
<class name= "AnimationNodeBlend3" inherits= "AnimationNode" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2018-07-26 17:56:21 +08:00
<brief_description >
2019-06-04 08:01:24 +08:00
Blends two of three animations linearly inside of an [AnimationNodeBlendTree].
2018-07-26 17:56:21 +08:00
</brief_description>
<description >
2019-06-16 17:22:38 +08:00
A resource to add to an [AnimationNodeBlendTree]. Blends two animations together linearly out of three based on a value in the [code][-1.0, 1.0][/code] range.
2019-06-04 08:01:24 +08:00
This node has three inputs:
- The base animation
2019-06-16 17:22:38 +08:00
- A -blend animation to blend with when the blend amount is in the [code][-1.0, 0.0][/code] range.
2019-06-04 08:01:24 +08:00
- A +blend animation to blend with when the blend amount is in the [code][0.0, 1.0][/code] range
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>
2018-07-26 17:56:21 +08:00
</tutorials>
<members >
2019-06-29 18:38:01 +08:00
<member name= "sync" type= "bool" setter= "set_use_sync" getter= "is_using_sync" default= "false" >
2019-06-04 08:01:24 +08:00
If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
2018-07-26 17:56:21 +08:00
</member>
</members>
</class>