[page:Object3D] → [page:Light] →
[name]
This light's color gets applied to all the objects in the scene globally.
Example
var light = new THREE.AmbientLight( 0x404040 ); // soft white light
scene.add( light );
Constructor
[name]( [page:Integer hex] )
[page:Integer hex] — Numeric value of the RGB component of the color.
This creates an Ambientlight with a color.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]