27 : base(new
ScriptNode[] { AmbientReflectionConstant, DiffuseReflectionConstant, SpecularReflectionConstant, Shininess},
42 "AmbientReflectionConstant",
43 "DiffuseReflectionConstant",
44 "SpecularReflectionConstant",
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
Generates a Graphs3D.PhongMaterial object.
override string[] DefaultArgumentNames
Default Argument names
PhongMaterial(ScriptNode AmbientReflectionConstant, ScriptNode DiffuseReflectionConstant, ScriptNode SpecularReflectionConstant, ScriptNode Shininess, int Start, int Length, Expression Expression)
Generates a Graphs3D.PhongMaterial object.
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
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.