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
color : Color
The color of the light.
-
Default Value:
Color.WHITE
direction : Cartesian3
The direction in which light gets emitted.
The intensity of the light.
-
Default Value:
1.0