28 StringBuilder sb =
new StringBuilder();
30 sb.Append(
"PhongMaterial(");
Class managing a script expression.
static string ToString(double Value)
Converts a value to a string, that can be parsed as part of an expression.
Converts values of type PhongMaterial to expression strings.
string GetString(object Value)
Gets a string representing a value.
Grade Supports(Type Object)
If the interface understands objects such as Object .
Contains information about a material, as used in the Phong reflection model. https://en....
float AmbientReflectionConstant
Ratio of reflection of the ambient term present in all points in the scene rendered.
float DiffuseReflectionConstant
Ratio of reflection of the diffuse term of incoming light.
float Shininess
Shininess coefficient.
float SpecularReflectionConstant
Ratio of reflection of the specular term of incoming light.
Interface for custom string output classes. Converts objects of a given type to an expression string.