A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/ below:

Shadow Cast component | Sample Code | ArcGIS Maps SDK for JavaScript 4.33

The Shadow Cast component 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 and urban planning.

Use dark colors for code blocks Copy

1
2
3
4
<arcgis-scene item-id="f2220db76c6448b4be8083d19ef4cf8d">
  <!-- include the Shadow Cast component inside the Scene component -->
  <arcgis-shadow-cast position="top-right"></arcgis-shadow-cast>
</arcgis-scene>

Use dark colors for code blocks Copy

1
2
3
4
// access the component in the JavaScript part for further modification
const shadowCast = document.querySelector("arcgis-shadow-cast");
await shadowCast.componentOnReady();
shadowCast.thresholdOptions.contextEnabled = true;

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4