ArcGISElevationMonitor

Namespace: Esri::GameEngine::Elevation
Class: Esri/GameEngine/Elevation/ArcGISElevationMonitor
Since: 1.6.0

Summary

An ArcGISElevationMonitor monitors elevation changes at a position.

Constructors

ArcGISElevationMonitor(const ArcGISPoint&, ArcGISElevationMode, double)

Creates an elevation monitor for a specific position.

Since 1.6.0

Arguments
NameTypeConstSummary
position
Yes

The point to get elevation updates. Only the x and y coordinates of the position are taken into account.

mode
No

The elevation mode for the point.

offset
No

The relative offset to be added.

Properties

PropertyTypeNullableReadonlySummary
No
Yes

The elevation mode for the point.

No
Yes

A relative offset that's added to the point's elevation.

No
Yes

The updated position.

Mode

ArcGISElevationMode GetMode() const

The elevation mode for the point.

Offset

double GetOffset() const

A relative offset that's added to the point's elevation.

Position

ArcGISPoint GetPosition() const

The updated position.

Events

NameTypeSummary
PositionChanged

An ArcGISElevationMonitorPositionChangedEvent that is invoked when the elevation changes.

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close