Exemplo n.º 1
0
 public void SetNodeOutputColor(Node node, Color color)
 {
     var nodeItem3 = (NodeColorItem)node.Items.FirstOrDefault(item => item.Tag.Equals(3));
       nodeItem3.Color = color;
       var args = new NodeItemEventArgs(nodeItem3);
       nodeItem3.OutputData = HelperMethods.Float3FromColor(color);
       node.UpdateOutput(args);
 }