A light that gets emitted in a single direction from infinitely far away.
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Object with the following properties:
|
Throws:
-
DeveloperError : options.direction cannot be zero-length
Members
The color of the light.
-
Default Value:
Color.WHITE
The direction in which light gets emitted.
The intensity of the light.
-
Default Value:
1.0