dojox.gfx3d.Viewport.setLights
dojo.require("dojox.gfx3d.object");
defined in dojox/gfx3d/object.js
set the lights
parameter | type | description |
---|---|---|
lights | Array|Object | Array an array of light object or lights object |
ambient | Color an ambient object | |
specular | Color an specular object |