Class InputNodeProcessor<T>
A simple processor for nodes that only output values (no processing needed). Use this for input nodes like color pickers, sliders, text inputs, etc.
public class InputNodeProcessor<T> : NodeProcessor, INodeProcessor
Type Parameters
TThe type of value this node outputs.
- Inheritance
-
InputNodeProcessor<T>
- Implements
- Inherited Members
Constructors
InputNodeProcessor(Node, string, T?)
Creates a new input node processor.
public InputNodeProcessor(Node node, string outputPortId = "out", T? initialValue = default)
Parameters
Properties
AutoExecute
Gets whether this processor should auto-execute when inputs change.
public override bool AutoExecute { get; }
Property Value
OutputPort
Gets the output port.
public ReactivePort<T> OutputPort { get; }
Property Value
- ReactivePort<T>
Value
Gets or sets the output value.
public T? Value { get; set; }
Property Value
- T
Methods
Process()
Processes inputs and updates outputs. Called automatically when any input changes (if auto-execute is enabled).
public override void Process()