28 StringBuilder sb =
new StringBuilder();
30 sb.Append(
"PhongLightSource(");
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 PhongLightSource to expression strings.
Grade Supports(Type Object)
If the interface understands objects such as Object .
string GetString(object Value)
Gets a string representing a value.
Contains information about a light source, as used in the Phong reflection model. https://en....
Vector3 Position
Position of light source..
PhongIntensity Diffuse
Diffuse intensity.
PhongIntensity Specular
Specular intensity.
Interface for custom string output classes. Converts objects of a given type to an expression string.