public virtual void ApplyColor(IShaderNodeView nodeView) { if (GetColorFromNode(nodeView.node, out var color)) { nodeView.SetColor(color); } else { nodeView.ResetColor(); } }
public virtual void ClearColor(IShaderNodeView nodeView) { nodeView.ResetColor(); }