Click or drag to resize

AnimationTreePlayerMixNodeSetAmount Method

Sets the mix amount of a Mix node given its name and value.

A Mix node adds input b to input a by the amount given by ratio.

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

Parameters

id
Type: SystemString

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

ratio
Type: SystemSingle

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

See Also