public override object GetValue(NodePort port) { var graph = (Terra2DGraph)this.graph; if (graph.isComputing) { try { ValueMap input = GetInputValue("input", this.input); output = input.Dither(amount, threshold); return(output); } catch (System.Exception e) { graph.isComputing = false; throw e; } } return(null); }