Click or drag to resize

VisualScriptCustomNode_Step Method

Execute the custom node's logic, returning the index of the output sequence port to use or a String when there is an error.

The inputs array contains the values of the input ports.

outputs is an array whose indices should be set to the respective outputs.

The start_mode is usually , unless you have used the STEP_* constants.

working_mem is an array which can be used to persist information between runs of the custom node.

When returning, you can mask the returned value with one of the STEP_* constants.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public virtual Object _Step(
	Array inputs,
	Array outputs,
	int startMode,
	Array workingMem
)

Parameters

inputs
Type: Godot.CollectionsArray

[Missing <param name="inputs"/> documentation for "M:Godot.VisualScriptCustomNode._Step(Godot.Collections.Array,Godot.Collections.Array,System.Int32,Godot.Collections.Array)"]

outputs
Type: Godot.CollectionsArray

[Missing <param name="outputs"/> documentation for "M:Godot.VisualScriptCustomNode._Step(Godot.Collections.Array,Godot.Collections.Array,System.Int32,Godot.Collections.Array)"]

startMode
Type: SystemInt32

[Missing <param name="startMode"/> documentation for "M:Godot.VisualScriptCustomNode._Step(Godot.Collections.Array,Godot.Collections.Array,System.Int32,Godot.Collections.Array)"]

workingMem
Type: Godot.CollectionsArray

[Missing <param name="workingMem"/> documentation for "M:Godot.VisualScriptCustomNode._Step(Godot.Collections.Array,Godot.Collections.Array,System.Int32,Godot.Collections.Array)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.VisualScriptCustomNode._Step(Godot.Collections.Array,Godot.Collections.Array,System.Int32,Godot.Collections.Array)"]

See Also