Point light
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
position |
Cartesian3 | Point light location | ||||||||||||||||||||
options |
Object |
optional
Optional, contains the following attributes:
|
Members
-
staticCesium.PointLight.color : Color
-
Gets or sets the light source color, the default is white.
-
Get or set the diffusion distance of the point light source, the default is 10 meters.
-
Get or set the attenuation factor of the point light source. The smaller the attenuation factor with the distance, the brighter.
-
Get the id of the point light source.
-
Gets or sets the intensity of the point light source.
-
staticCesium.PointLight.lightColor : Color
-
Get point light color
-
staticCesium.PointLight.position : Cartesian3
-
Get or set the position of the point light source, using the world coordinate system.