ChartDirector 6.2 (.NET Edition)
public void setLighting([ double ambientIntensity, double diffuseIntensity, double specularIntensity, double shininess ]);
Public Sub setLighting([ ambientIntensity As Double, diffuseIntensity As Double, specularIntensity As Double, shininess As Double ])
Sets Phong lighting mode.
This method adjusts the brightness of the surfaces as according to the Phong lighting model, in which the light source is from the viewer direction and is far away.
For a cone or funnel chart, this is the default coloring method.
For a pyramid chart, only ambient and diffuse reflections are used.
|ambientIntensity||0.5||The ambient reflection coefficient of the Phong lighting model.|
|diffuseIntensity||0.5||The diffuse reflection coefficient of the Phong lighting model.|
|specularIntensity||1||The specular reflection coefficient of the Phong lighting model.|
|shininess||8||The shininess coefficient of the Phong lighting model.
© 2017 Advanced Software Engineering Limited. All rights reserved.