Class InputNode
The input node is used to output the value of an associated input parameter.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: InsaneScatterbrain.ScriptGraph
Syntax
[Serializable]
public class InputNode : ProviderNode, IProviderNode, IScriptNode, INode, ISerializationCallbackReceiver
Constructors
InputNode()
Declaration
protected InputNode()
Properties
InputParameterId
Gets the input variable's name.
Declaration
public string InputParameterId { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|---|
string | inputParameterId | The name. |
System.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 |
---|---|---|
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
UnityEngine.ISerializationCallbackReceiver