[VB] | Public Sub setShadingMode(shadingMode As Integer [, wireWidth As Integer ]) |
[C#] | public void setShadingMode(int shadingMode [, int wireWidth ]); |
ChartDirector 5.1 (.NET Edition)
SurfaceChart.setShadingMode
Usage
[VB] | Public Sub setShadingMode(shadingMode As Integer [, wireWidth As Integer ]) |
[C#] | public void setShadingMode(int shadingMode [, int wireWidth ]); |
Description
Constant | Value | Description |
---|---|---|
SmoothShading | 0 | The brightness of the surface varies smoothly. |
TriangularShading | 0 | The surface is divided into triangular patches. The brightness of the patches varies according to their orientation. Within a patch, the brightness is constant. |
RectangularShading | 0 | The surface is divided into rectangular patches. The brightness of the patches varies according to their orientation. Within a patch, the brightness is constant. |
TriangularFrame | 0 | The surface is divided into triangular patches. Only the edges of the patches are drawn. |
RectangularFrame | 0 | The surface is divided into rectangular patches. Only the edges of the patches are drawn. |
Arguments
Argument | Default | Description |
---|---|---|
shadingMode | (Mandatory) | The shading mode, which must be one of the above constants. |
wireWidth | 1 | The wire width for use with wireframe shading modes. |
Return Value