26 : base(new
ScriptNode[] { Width, Height, Oversampling, BackgroupColor },
58 SKColor BackgroundColor = Graphs.Graph.ToColor(
Arguments[3].AssociatedObjectValue);
66 if (Oversampling <= 0)
69 return new Graphs3D.Canvas3D(
Variables, Width, Height, Oversampling, BackgroundColor);
Script runtime exception.
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
Generates a Graphs3D.Canvas3D object.
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
Canvas3D(ScriptNode Width, ScriptNode Height, ScriptNode Oversampling, ScriptNode BackgroupColor, int Start, int Length, Expression Expression)
Generates a Graphs3D.Canvas3D object.
override string[] DefaultArgumentNames
Default Argument names
override string FunctionName
Name of the function
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
static readonly ArgumentType[] argumentTypes4Scalar
Four scalar parameters.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Basic interface for all types of elements.