Namespace: Esri::GameEngine::Elevation::Base
Class: Esri/GameEngine/Elevation/Base/ArcGISElevationSource
Since: 1.0.0
Implements: ArcGISLoadable
Summary
Abstract base class for all ElevationSources.
Constructors
ArcGISElevationSource(const FString&, ArcGISElevationSourceType, const FString&)
Creates a new elevation source.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
source | Yes | Elevation source. | |
type | No | ArcGISElevationSource type definition. | |
API | Yes | API key used to load data. |
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
No | Yes | API key will be sent with every request for ArcGIS location services and/or private content items. | ||
Yes | Yes | The full extent of this ArcGISElevationSource, which is the extent where all ArcGISElevationSource data is contained. | ||
No | No | Define if this elevation source is enabled or not. | ||
No | No | Identifier for elevation source. | ||
No | Yes | Source property is read-only, it will be set up on the constructor. | ||
Yes | Yes | The spatial reference of the elevation source. |
APIKey
FString GetAPIKey() const
API key will be sent with every request for ArcGIS location services and/or private content items.
Extent
ArcGISExtentRectangle GetExtent() const
The full extent of this ArcGISElevationSource, which is the extent where all ArcGISElevationSource data is contained.
You can use this to zoom to all of the data contained in this ArcGISElevationSource.
IsEnabled
bool GetIsEnabled() const
void SetIsEnabled(bool isEnabled)
Define if this elevation source is enabled or not.
SpatialReference
ArcGISSpatialReference GetSpatialReference() const
The spatial reference of the elevation source.
ArcGISImageElevationSource ArcGISSpatialReference must match the ArcGISSpatialReference of the ArcGISMap. ArcGISImageElevationSource tiling scheme must be compatible with the tiling scheme of the ArcGISMap. If any of the above constraints are violated, an ArcGISElevationSourceViewState error is generated.