Interface INodeProcessor
Interface for nodes that can process data. Implement this to create nodes that transform input values to output values.
public interface INodeProcessor
Properties
AutoExecute
Gets whether this processor should auto-execute when inputs change.
bool AutoExecute { get; }
Property Value
InputValues
Gets all input port values.
IReadOnlyDictionary<string, IPortValue> InputValues { get; }
Property Value
IsValid
Gets whether this processor is currently valid (all required inputs connected).
bool IsValid { get; }
Property Value
Node
Gets the node this processor is attached to.
Node Node { get; }
Property Value
OutputValues
Gets all output port values.
IReadOnlyDictionary<string, IPortValue> OutputValues { get; }
Property Value
Methods
Process()
Processes inputs and updates outputs. Called automatically when any input changes (if auto-execute is enabled).
void Process()