Show / Hide Table of Contents

Class Surface

Surface contains elevation sources and defines a surface upon which layers and overlays can be draped.

Inheritance
Object
Surface
Implements
ILoadable
INotifyPropertyChanged
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class Surface : ILoadable, INotifyPropertyChanged

Constructors

Name Description
Surface()

Initializes a new instance of the Surface class.

Properties

Name Description
BackgroundGrid

Gets or sets the settings applied to rendering the surface's background when no data is draped on top of it.

ElevationExaggeration

Gets or sets the elevation exaggeration for the surface.

ElevationSources

Gets the collection of elevation sources in the surface.

IsEnabled

Gets or sets a value indicating whether this surface is enabled and should be rendered.

LoadError

Gets the load error of the surface (null if loading was successful).

LoadStatus

Gets the load status of the surface.

Name

Gets or sets the name for the surface.

NavigationConstraint

Gets or sets the type of navigation constraint from the surface.

Opacity

Gets or sets the opacity applied to the Surface.

Methods

Name Description
CancelLoad()

Cancels an ongoing load.

GetElevationAsync(MapPoint)

Gets the best available elevation from the elevation surface.

LoadAsync()

Initiates loading of the surface.

RetryLoadAsync()

Retry loading the surface.

Events

Name Description
Loaded

Occurs when the surface is loaded.

LoadStatusChanged

Occurs when the surface LoadStatus property is changed.

PropertyChanged

Occurs when a property value changes.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0

Relevant samples

Add an integrated mesh layer: View an integrated mesh layer from a scene service.
Change atmosphere effect: Changes the appearance of the atmosphere in a scene.
Choose camera controller: Control the behavior of the camera in a scene.
In This Article
Back to top Copyright © 2022 Esri.