new pointLight(scene, settingsopt)
A light that gets emitted from a single point in all directions.
Parameters:
Name |
Type |
Attributes |
Default |
Description |
scene |
THREE.Group
|
THREE.Scene
|
|
|
Group or Scene of the pointLight. |
settings |
object
|
<optional>
|
{}
|
the following settings are available
Properties
Name |
Type |
Attributes |
Default |
Description |
options |
Options
|
<optional>
|
new Options()
|
Options instance. The following options are available.
See options parameter of MyThree class.
Properties
Name |
Type |
Attributes |
Description |
pointLight |
boolean
|
<optional>
|
false - do not use pointLight. |
dat |
object
|
<optional>
|
use dat-gui JavaScript Controller Library. dat.gui.
See options.dat parameter of MyThree class.
Properties
Name |
Type |
Attributes |
Description |
pointLightGui |
object
|
<optional>
|
false - do not adds a pointLight folder. Have effect only if options.pointLight !== false. |
|
scale |
number
|
<optional>
|
is 1 |
|
position |
THREE.Vector3
|
<optional>
|
|
light position. Default is zero position. |
|
- Source:
- See:
-