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. | |
APIKey | Yes | API Key used to load data. |
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
No | Yes | API Key will be sended on loading process to match the new credit system. | ||
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 will be a read only, it will be setup on the constructor | ||
Yes | Yes | The spatial reference of the elevation source. |
APIKey
FString GetAPIKey() const
API Key will be sended on loading process to match the new credit system.
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.
Source
FString GetSource() const
Source property will be a read only, it will be setup on the constructor
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.