Class InputNode
The input node is used to output the value of an associated input parameter.
Inherited Members
Namespace: InsaneScatterbrain.ScriptGraph
Syntax
public class InputNode : ProviderNode, IProviderNode, IScriptNode, INode
Constructors
InputNode()
Declaration
protected InputNode()
Properties
InputParameterId
Gets the input variable's name.
Declaration
public string InputParameterId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OutPort
Gets the out port.
Declaration
public OutPort OutPort { get; }
Property Value
Type | Description |
---|---|
OutPort |
Methods
Create(String, Type)
Factory method to create a new input node with the given name of the given type, for the given graph.
Declaration
public static InputNode Create(string inputParameterId, Type type)
Parameters
Type | Name | Description |
---|---|---|
System.String | inputParameterId | The name. |
Type | type | The type. |
Returns
Type | Description |
---|---|
InputNode | The new input node. |
Create<T>(String)
Declaration
public static InputNode Create<T>(string inputParameterId)
Parameters
Type | Name | Description |
---|---|---|
System.String | inputParameterId |
Returns
Type | Description |
---|---|
InputNode |
Type Parameters
Name | Description |
---|---|
T |
OnAfterDeserialize()
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()
OnLoadOutputPorts()
Declaration
public override void OnLoadOutputPorts()
Overrides
Implements
ISerializationCallbackReceiver