Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
7951eb9aaThis file is pinned to the selected release. Download the original to open it in your design tool.
using OpenScadGraphEditor.Library;
namespace OpenScadGraphEditor.Nodes
{
/// <summary>
/// Marker interface for nodes that have multiple expression output (e.g. function entry points, for-loops).
/// They have the capability to render different results based on which expression port is queried.
/// </summary>
public interface IHaveMultipleExpressionOutputs
{
/// <summary>
/// Instructs the node to only render the expression output with the given index.
/// </summary>
string RenderExpressionOutput(ScadGraph context, int port);
}
}