Click or drag to resize

AnimationNodeBlendInput Method

Blend an input. This is only useful for nodes created for an AnimationNodeBlendTree. The time parameter is a relative delta, unless seek is true, in which case it is absolute. A filter mode may be optionally passed (see AnimationNodeFilterAction for options).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float BlendInput(
	int inputIndex,
	float time,
	bool seek,
	float blend,
	AnimationNodeFilterAction filter = AnimationNodeFilterAction.Ignore,
	bool optimize = true
)

Parameters

inputIndex
Type: SystemInt32

[Missing <param name="inputIndex"/> documentation for "M:Godot.AnimationNode.BlendInput(System.Int32,System.Single,System.Boolean,System.Single,Godot.AnimationNode.FilterAction,System.Boolean)"]

time
Type: SystemSingle

[Missing <param name="time"/> documentation for "M:Godot.AnimationNode.BlendInput(System.Int32,System.Single,System.Boolean,System.Single,Godot.AnimationNode.FilterAction,System.Boolean)"]

seek
Type: SystemBoolean

[Missing <param name="seek"/> documentation for "M:Godot.AnimationNode.BlendInput(System.Int32,System.Single,System.Boolean,System.Single,Godot.AnimationNode.FilterAction,System.Boolean)"]

blend
Type: SystemSingle

[Missing <param name="blend"/> documentation for "M:Godot.AnimationNode.BlendInput(System.Int32,System.Single,System.Boolean,System.Single,Godot.AnimationNode.FilterAction,System.Boolean)"]

filter (Optional)
Type: GodotAnimationNodeFilterAction

[Missing <param name="filter"/> documentation for "M:Godot.AnimationNode.BlendInput(System.Int32,System.Single,System.Boolean,System.Single,Godot.AnimationNode.FilterAction,System.Boolean)"]

optimize (Optional)
Type: SystemBoolean

[Missing <param name="optimize"/> documentation for "M:Godot.AnimationNode.BlendInput(System.Int32,System.Single,System.Boolean,System.Single,Godot.AnimationNode.FilterAction,System.Boolean)"]

Return Value

Type: Single

[Missing <returns> documentation for "M:Godot.AnimationNode.BlendInput(System.Int32,System.Single,System.Boolean,System.Single,Godot.AnimationNode.FilterAction,System.Boolean)"]

See Also