Function VisualScriptCustomNode._step
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 constant START_MODE_BEGIN_SEQUENCE
, 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.