ChartDirector 7.1 (.NET Edition)

SurfaceChart.setBackSideLighting


Usage

[C#]public void setBackSideLighting(double ambientIntensity, double diffuseIntensity, double specularIntensity, double shininess);
[VB]Public Sub setBackSideLighting(ambientIntensity As Double, diffuseIntensity As Double, specularIntensity As Double, shininess As Double)

Description

Sets the Phong lighting parameters for the back side of the surface.

The surface of a surface chart has two sides. The side that is facing the positive z direction of the plot region is the front side. The side that is facing the negative z direction of the plot region is the back side.

ChartDirector uses the Phong lighting model to adjust the brightness of the surface to make it look realistic. The default lighting parameters for the back side is half the brightness of those for the front side. This method may be used to set alternative lighting parameters for the back side.

Arguments

ArgumentDefaultDescription
ambientIntensity(Mandatory)The ambient reflection coefficient of the Phong lighting model.
diffuseIntensity(Mandatory)The diffuse reflection coefficient of the Phong lighting model.
specularIntensity(Mandatory)The specular reflection coefficient of the Phong lighting model.
shininess(Mandatory)The shininess coefficient of the Phong lighting model.

Return Value

None