Click or drag to resize

AnimationTreePlayerBlend3NodeSetAmount Method

Sets the blend amount of a Blend3 node given its name and value.

A Blend3 Node blends three animations (A, B-, B+) with the amount between -1 and 1.

At -1, output is input B-. From -1 to 0, the influence of B- gets lessened, the influence of A gets raised and the influence of B+ is 0. At 0, output is input A. From 0 to 1, the influence of A gets lessened, the influence of B+ gets raised and the influence of B+ is 0. At 1, output is input B+.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void Blend3NodeSetAmount(
	string id,
	float blend
)

Parameters

id
Type: SystemString

[Missing <param name="id"/> documentation for "M:Godot.AnimationTreePlayer.Blend3NodeSetAmount(System.String,System.Single)"]

blend
Type: SystemSingle

[Missing <param name="blend"/> documentation for "M:Godot.AnimationTreePlayer.Blend3NodeSetAmount(System.String,System.Single)"]

See Also