Ejemplo n.º 1
0
        /// <summary>
        /// Returns input data as a NodeGraphListData
        /// </summary>
        /// <returns></returns>
        public NodeGraphListData GetInputData()
        {
            NodeGraphListData v_Output = new NodeGraphListData();

            foreach (NodeGraphConnector i_Connector in this.m_Connectors)
            {
                if (i_Connector.Type == ConnectorType.InputConnector)
                {
                    v_Output.AddData(i_Connector.Process());
                }
            }

            return(v_Output);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns input data as a NodeGraphListData
        /// </summary>
        /// <returns></returns>
        public NodeGraphListData GetInputData()
        {
            NodeGraphListData v_Output = new NodeGraphListData();

            foreach (NodeGraphConnector i_Connector in this.m_Connectors)
            {
                if (i_Connector.Type == ConnectorType.InputConnector)
                {
                    v_Output.AddData(i_Connector.Process());
                }
            }

            return v_Output;
        }