Show / Hide Table of Contents

Constructor Scene

Scene()

Initializes a new instance of the Scene class.

Declaration
public Scene()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
Relevant samples
Feature layer rendering mode (scene): Render features in a scene statically or dynamically by setting the feature layer rendering mode.
Scene layer (URL): Display an ArcGIS scene layer from a URL.

Scene(Basemap)

Initializes a new instance of the Scene class with a Basemap.

Declaration
public Scene(Basemap basemap)
Parameters
Type Name Description
Basemap basemap

The basemap for the scene.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
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.

Scene(BasemapStyle)

Initializes a new instance of the Scene class with a BasemapStyle.

Declaration
public Scene(BasemapStyle basemapStyle)
Parameters
Type Name Description
BasemapStyle basemapStyle

Style of the basemap.

Remarks

These basemaps are secured and access requires either an ApiKey or a named user.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.10 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.10 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.10 - 100.12
Xamarin.Android100.10 - 100.15
Xamarin.iOS100.10 - 100.15
UWP100.10 - 100.15

Scene(SceneViewTilingScheme)

Initializes a new instance of the Scene class with a specific tiling scheme.

Declaration
public Scene(SceneViewTilingScheme tilingScheme)
Parameters
Type Name Description
SceneViewTilingScheme tilingScheme

The tiling scheme to use for tiled layers.

Remarks

The tiling scheme determines which cached tiled services can render in this Scene.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.3 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.3 - 100.15

Scene(Uri)

Initializes a new instance of the Scene class with a Uri to a webscene.

Declaration
public Scene(Uri uri)
Parameters
Type Name Description
Uri uri

Uri of the webscene. This will be most generally a portal item URL.

Remarks

If the specified Uri is a portal item URL Esri.ArcGISRuntime.Portal.PortalItem.CreateAsync(System.Uri,Esri.ArcGISRuntime.Security.Credential), the underlying PortalItem will be created and accessible through Item. The uri may be a direct Uri to webscene JSON content or the Uri of a portal item.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.3 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.3 - 100.14

Scene(Item)

Initializes a new instance of the Scene class with an ArcGIS Item.

Declaration
public Scene(Item item)
Parameters
Type Name Description
Item item

The webscene item. Only PortalItem is supported.

Remarks

The specified item must be of type WebScene or the scene will fail to load.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.3 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.3 - 100.15
In This Article
Back to top Copyright © 2022 Esri.