Click or drag to resize

AnimationTreePlayerBlend2NodeSetAmount Method

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

A Blend2 node blends two animations (A and B) with the amount between 0 and 1.

At 0, output is input A. Towards 1, the influence of A gets lessened, the influence of B gets raised. At 1, output is input B.

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

Parameters

id
Type: SystemString

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

blend
Type: SystemSingle

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

See Also