Namespace: Esri::GameEngine::Map
Class: Esri/GameEngine/Map/ArcGISMapElevation
Since: 1.0.0
Summary
The map elevation contains elevation sources and additional properties and can be rendered using an ArcGISMapComponent.
Constructors
ArcGISMapElevation()
Create an elevation for the map with no elevation sources.
Since 1.0.0
ArcGISMapElevation(ArcGISElevationSource&)
Create an elevation for the map with one elevation source.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
elevation | ArcGISElevationSource | No | Elevation source |
ArcGISMapElevation(ArcGISCollection<ArcGISElevationSource>&)
Create an elevation for map.
Since 1.2.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
elevation | ArcGISCollection<ArcGISElevationSource> | No | List of the elevation sources. |
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
ElevationSources | ArcGISCollection<ArcGISElevationSource> | No | No | List of elevation sources included on the elevation. |
ExaggerationFactor | float | No | No | Multiplies the elevation of the map by this factor. It is applied to all layers. |
MaterialReference | U | No | No | The user-defined material to render the map elevation. |
MeshModifications | ArcGISCollection<ArcGISMeshModification> | No | No | A mutable collection of ArcGISMeshModification to apply to the terrain. |
ElevationSources
ArcGISCollection<ArcGISElevationSource> GetElevationSources() const
void SetElevationSources(const ArcGISCollection<ArcGISElevationSource>& elevationSources)
List of elevation sources included on the elevation.
The order of the elevation sources in the collection indicate which elevation has priority when the sources are spatially coincident. Items with higher indexes are on top of items with lower indices in the collection.
ExaggerationFactor
float GetExaggerationFactor() const
void SetExaggerationFactor(float exaggerationFactor)
Multiplies the elevation of the map by this factor. It is applied to all layers.
MaterialReference
UMaterialInterface* GetMaterialReference() const
void SetMaterialReference(UMaterialInterface* materialReference)
The user-defined material to render the map elevation.
This is required to be set before the map elevation is loaded or an error will occur.
MeshModifications
ArcGISCollection<ArcGISMeshModification> GetMeshModifications() const
void SetMeshModifications(const ArcGISCollection<ArcGISMeshModification>& meshModifications)
A mutable collection of ArcGISMeshModification to apply to the terrain.