PointLight

new Cesium.PointLight(position, options)

point light.
Name Type Description
position Cartesian3 Point source position
options Object optional Optional, with the following attributes
Name Type Default Description
color Color Color.WHITE optional Light source color, default white
cutoffDistance Number 10 optional Point source diffusion distance, default 10 meters
decay Number 1 optional Point source attenuation factor, the smaller the attenuation with distance, the brighter
intensity Number 2 optional Point source intensity

Members

staticCesium.PointLight.color : Color

Gets or sets the color of the light, default white.

staticCesium.PointLight.cutoffDistance : Number

Gets or sets the diffusion distance of the point source, which is 10 meters by default.

staticCesium.PointLight.decay : Number

Get or set the point source attenuation factor. The smaller the distance, the smaller and brighter the distance attenuation.

staticCesium.PointLight.id : Number

Get the point source id.

staticCesium.PointLight.intensity : Number

Gets or sets the intensity of the point source.

staticCesium.PointLight.lightColor : Color

Get the point source color

staticCesium.PointLight.position : Cartesian3

Gets or sets the point source position, using the world coordinate system.