Functiondojox.gfx3d.Viewport.setLights

dojo.require("dojox.gfx3d.object");
defined in dojox/gfx3d/object.js

set the lights

Usage

function (/*Array|Object*/ lights, ambient, specular) (view source)
parametertypedescription
lightsArray|ObjectArray an array of light object or lights object
ambient Color an ambient object
specular Color an specular object

PropertiesBack to top

an array of light object or lights object