An analysis object that renders a viewshed for a specified point location. More...
|Import Statement:||import Esri.ArcGISRuntime 100.7|
- void updateFromCamera(Camera camera)
LocationViewshed determines visible and non-visible areas in a scene view for an observer defined with a map location (point).
Visible and non-visible areas are determined for an area defined by the observer location, view angles, and the minimum/maximum distance range. These parameters define the frustum over which visibility is calculated from the observer location. Terrain and other obstacles between the observer and the minimum distance are excluded from the analysis, as are areas beyond the maximum distance.
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
[default] initCamera : Camera
[default] location : Point
The observer location.
Emitted when the heading property changes.
Emitted when the initCamera property changes.
Emitted when the location property changes.
Emitted when the pitch property changes.
void updateFromCamera(Camera camera)
Updates the frustum of the viewshed using the properties of the supplied camera.
The Camera is used to update the position, pitch, and heading of the viewshed frustum.