Shadow cast

The ShadowCast widget displays the amount of shadow that 3D objects cast in a scene over a selected amount of time. This type of analysis is useful in fields like architecture or urban planning.

Use dark colors for code blocksCopy
1
2
3
4
5
// create a new ShadowCast widget
const shadowWidget = new ShadowCast({ view: view });

// add the widget to the view
view.ui.add(shadowWidget, "top-right");

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.