Constructor
new AmbientLight(scene, camera, renderer)
Parameters:
Name | Type | Description |
---|---|---|
scene |
THREE.Scene | The scene object |
camera |
THREE.Camera | The camera object |
renderer |
THREE.WebGLRenderer | The renderer object |
- Source:
Methods
isOn() → {Boolean}
Returns true
if this ambient light is on
- Source:
Returns:
true
if this ambient light is on,
false
otherwise
- Type
- Boolean
setOn(on)
Sets this ambient light on/off
Parameters:
Name | Type | Description |
---|---|---|
on |
Boolean | If |
- Source: