Types
import type { ColorAndIntensity, SunLight } from "@arcgis/core/views/3d/webgl/types.js";Type definitions
ColorAndIntensity
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Tuple of an RGB color value and an intensity value.
intensity
Property
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Scalar intensity value by which the color should be scaled for compositing.
SunLight
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Describes the lighting used by SceneView, derived from its sun
lighting model. It consists of a directional
Lambertian (diffuse) and a constant (ambient) term, which should be treated in the sense of the
Phong Reflection Model.
ambient
Property
- Type
- ColorAndIntensity
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The ambient light color and intensity.
diffuse
Property
- Type
- ColorAndIntensity
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The diffuse light color and intensity.