Light

Constructor

new G3D.Light(scene);

options

name type description
scene G3D.Scene the scene you want to put the light in

Properties

name type description
color {r: Number, g: Number, b: Number} light color, each component varies from 0 to 255
intensity Number light intensity, varies from 0 to 1