Skip to content

Variable: DEFAULT_LIGHTING ​

ts
const DEFAULT_LIGHTING: Readonly<LightingSpec>;

Experimental

The rig used for three.js material types when a figure has no scene.lighting: Plotly's default light (lightposition (1e5, 1e5, 0), moving with the view) with Plotly's default ambient and diffuse strengths.

Released under the MIT License.