Ejemplo n.º 1
0
        public override object GetValue(NodePort port)
        {
            var graph = (Terra2DGraph)this.graph;

            if (graph.isComputing)
            {
                try
                {
                    ValueMap input = GetInputValue("input", this.input);

                    return(input.Select(method, value));
                }
                catch (System.Exception e)
                {
                    graph.isComputing = false;
                    throw e;
                }
            }

            return(null);
        }