Constructor Scene
Scene()
Initializes a new instance of the Scene class.
Declaration
public Scene()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
Scene(Basemap)
Declaration
public Scene(Basemap basemap)
Parameters
Type | Name | Description |
---|---|---|
Basemap | basemap | The basemap for the scene. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.10 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.10 - 100.12 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.3 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.3 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.3 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 100.15 |