예제 #1
0
 public virtual void ApplyColor(IShaderNodeView nodeView)
 {
     if (GetColorFromNode(nodeView.node, out var color))
     {
         nodeView.SetColor(color);
     }
     else
     {
         nodeView.ResetColor();
     }
 }
예제 #2
0
 public virtual void ClearColor(IShaderNodeView nodeView)
 {
     nodeView.ResetColor();
 }