예제 #1
0
 ///Add a new FlowOutput with name. Returns the new FlowOutput object.
 public FlowOutput AddFlowOutput(string name, string ID = "")
 {
     QualifyPortNameAndID(ref name, ref ID, outputPorts);
     return((FlowOutput)(outputPorts[ID] = new FlowOutput(this, name, ID)));
 }
예제 #2
0
 ///Same as 'port.Call(f)'
 public void Call(FlowOutput port)
 {
     port.Call(this);
 }
예제 #3
0
 protected override void RegisterPorts()
 {
     fOut = AddFlowOutput("Out");
     var t1Out = AddValueOutput <RenderTexture>("in", () => t1);
     var t2Out = AddValueOutput <RenderTexture>("out", () => t2);
 }