Constructor
new Headlight(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
setOn(on)
Sets this headlight on/off
Parameters:
Name | Type | Description |
---|---|---|
on |
Boolean | If |
- Source: