summaryrefslogtreecommitdiff
path: root/doc/classes/AnimationNodeBlend3.xml
blob: cd2291bdb6a651245252d0b13d0eb7ec62b7595d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AnimationNodeBlend3" inherits="AnimationNode" category="Core" version="3.2">
	<brief_description>
		Blends two of three animations linearly inside of an [AnimationNodeBlendTree].
	</brief_description>
	<description>
		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.
		This node has three inputs:
		- The base animation
		- A -blend animation to blend with when the blend amount is in the [code][-1.0, 0.0][/code] range.
		- A +blend animation to blend with when the blend amount is in the [code][0.0, 1.0][/code] range
	</description>
	<tutorials>
		<link>https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html</link>
	</tutorials>
	<methods>
	</methods>
	<members>
		<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync" default="false">
			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.
		</member>
	</members>
	<constants>
	</constants>
</class>