public override NodeGraphData Process() { NodeGraphFloatListData v_OutputData = new NodeGraphFloatListData(); NodeGraphInvalidData v_Errors = new NodeGraphInvalidData(); NodeGraphListData v_InputData = this.GetInputData(); foreach (NodeGraphData i_InputData in v_InputData.Data) { if (i_InputData is NodeGraphFloatData) { v_OutputData.Values.Add((i_InputData as NodeGraphFloatData).Value); } else if (i_InputData is NodeGraphInvalidData) { v_Errors.Merge(i_InputData as NodeGraphInvalidData); } } return new NodeGraphTestResultData(v_OutputData, v_Errors); }
public NodeGraphTestResultData(NodeGraphFloatListData p_Data, NodeGraphInvalidData p_Errors) { m_Data = p_Data; m_Errors = p_Errors; }
public NodeGraphTestResultData(NodeGraphFloatListData p_Data, NodeGraphInvalidData p_Errors) { m_Data = p_Data; m_Errors = p_Errors; }