AmbientLight.html 422 B

1234567891011121314151617181920212223
  1. [page:Object3D] → [page:Light] →
  2. <h1>[name]</h1>
  3. <div class="desc">
  4. This light's color gets applied to all the object in the scene globally.
  5. </div>
  6. <h2>Example</h2>
  7. <code>var light = new THREE.AmbientLight( 0xff0000 );
  8. scene.add( light );</code>
  9. <h2>Constructor</h2>
  10. <h3>[name]( [page:Float hex] )</h3>
  11. <h2>Source</h2>
  12. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]