import DiscreteOptions from "@arcgis/core/analysis/ShadowCast/DiscreteOptions.js";const DiscreteOptions = await $arcgis.import("@arcgis/core/analysis/ShadowCast/DiscreteOptions.js");- Inheritance:
- DiscreteOptions→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Configuration for the "discrete" mode of the ShadowCastAnalysis.
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
See the properties table for a list of all the
properties that may be passed into the constructor.
Properties
Any properties can be set, retrieved or listened to. See the
Watch for changes
topic.
interval
Property
- Type
- number
Individual shadows are displayed at this time interval, starting with the start time of day. The interval is expressed in milliseconds. If set to 0, we'll use the smallest possible interval, up to a maximum of 255 samples.
- Default value
- 1 * 3600 * 1000
Methods
| Method | Signature | Class |
|---|---|---|
clone inherited | clone(): this |
clone
inherited Method
- Signature
-
clone (): this
Inherited from: ClonableMixin
Creates a deep clone of this object. Any properties that store values by reference will be assigned copies of the referenced values on the cloned instance.
- Returns
- this
A deep clone of the class instance that invoked this method.