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