Skip to content

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
positionArcGISPointYes

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

modeArcGISElevationModeNo

The elevation mode for the point.

offsetdoubleNo

The relative offset to be added.

Properties

PropertyTypeNullableReadonlySummary
ModeArcGISElevationModeNoYes

The elevation mode for the point.

OffsetdoubleNoYes

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

PositionArcGISPointNoYes

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
PositionChangedArcGISElevationMonitorPositionChangedEvent

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.