calculate a cylindrical gradient
Parameter | Type | Description |
---|---|---|
model | dojox.gfx3d.lighting.Model | color model |
material | Object | defines visual properties |
center | Object | center of the cylinder's bottom |
radius | Number | radius of the cylinder |
from | Number | from position in radians |
to | Number | from position in radians |
matrix | Object | the cumulative transformation matrix |
See the dojox/gfx3d/gradient reference documentation for more information.