PointLight

new Cesium.PointLight(position, options)

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

Members

staticCesium.PointLight.color : Color

Gets or sets the light source color, the default is white.

staticCesium.PointLight.cutoffDistance : Number

Get or set the diffusion distance of the point light source, the default is 10 meters.

staticCesium.PointLight.decay : Number

Get or set the attenuation factor of the point light source. The smaller the attenuation factor with the distance, the brighter.

staticCesium.PointLight.id : Number

Get the id of the point light source.

staticCesium.PointLight.intensity : Number

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.