LightSource

new SuperMap3D.LightSource()

light source class

Members

ambientLightColor : Color

Get or set the ambient light color.
Default Value: Color(0.6, 0.6, 0.6, 1.0)

directionalLight : DirectionalLight

Get a directional light source.

pointLight : PointLight

Get a point light.

spotLight : SpotLight

Get the spotlight.

sunLightCameraTrackingEnabled : Boolean

Get or set to automatically update the current time zone to maintain the same lighting effect in the model within the same time zone.
Default Value: true

sunLightON : Number

Get or set lighting.
Default Value: 1.0

visibleDistanceMax : Number

Set the maximum visible distance of the light.
Default Value: 10000.0