The following read-only properties mimic the purpose of their counter-parts in the SilverC SURFACE_NODE:

Name

Description

ambient_diffusion

A value between 0 and 100 which is multiplied by the ambient lighting term. A value of 0 means that the drawing's ambient light does not contribute, whereas a value of 100 means it contributes fully.

diffusion

A value between 0 and 100 which is multiplied by the diffuse lighting term. The diffuse light term is made up of all the contributions from enabled lights in the drawing. A value of 0 means that the drawing's diffuse light does not contribute and a value of 100 means it contributes fully.

opacity

A value between 0.0 and 1.0 which controls how transparent (at 0.0) or opaque (at 1.0) a surface is. Not all rendering options support this property.

reflection

A value between 0.0 and 1.0 which controls how reflective a surface is. A value of 0.0 means the surface does not reflect at all, whereas a value of 1.0 means the surface reflects fully (a mirror). Not all rendering options support this property.

reflection_blur

A value between 0.0 and 1.0 which controls the crispness of a reflection. A value of 0.0 produces a crisp reflection, where a value of 1 produces a blurry reflection.

spectral_color

This color value controls the color of the spectral light contribution.

spectral_intensity

A value between 0 and 100 which is multiplied by the spectral lighting term. The spectral lighting is a combination of the spectral color, spectral power, and the angle of a rendered pixel to the angle of view. A value of 0 means that the drawing's spectral light does not contribute, whereas a value of 100 means it contributes fully.

spectral_power

This value controls the strength of the beam of spectral light. A low value creates a beam with a wide field and low intensity. A high value creates a more intense beam. This value is typically kept in the range 0-128.

The following read-only properties extend SURFACE_NODE for SilverSharp::

Member

Description

DoesCastShadow

true if the surface(s) to which this SURFACE_NODE is associated should cast a show, and false otherwise