Skip to content

Interface: Bar3dTraceLightposition ​

Position of the light (Plotly's model, without scene.lighting), in clip space: it moves with the view.

Properties ​

PropertyTypeDefault valueDescription
x?number100000x of the light, in clip space (moves with the view; ±1 is the edge of the view, 1e5 far away). Range: -100000 – 100000
y?number100000y of the light, in clip space (moves with the view; ±1 is the edge of the view, 1e5 far away). Range: -100000 – 100000
z?number0z of the light, in clip space (moves with the view; ±1 is the edge of the view, 1e5 far away). Range: -100000 – 100000

Released under the MIT License.