Constructor Scene
Scene()
Initializes a new instance of the Scene class.
Declaration
public Scene()
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
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 an authenticated user.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.10 - 200.6 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 200.6 |
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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.3 - 200.6 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 200.6 |
Scene(Uri)
Initializes a new instance of the Scene class with a Uri to a web scene.
Declaration
public Scene(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | Uri of the web scene on ArcGIS Online or ArcGIS Enterprise portal. |
Remarks
If the specified Uri is a portal item URL uri
may be a direct Uri to webscene JSON content or the Uri of a portal item.
Examples of supported URL formats:
- The Scene Viewer Classic, for example: https://www.arcgis.com/home/webscene/viewer.html?webscene=579f97b2f3b94d4a8e48a5f140a6639b
- The web scene item details page, for example: https://www.arcgis.com/home/item.html?id=579f97b2f3b94d4a8e48a5f140a6639b
- The REST sharing API data, for example: https://www.arcgis.com/sharing/rest/content/items/579f97b2f3b94d4a8e48a5f140a6639b/data
- The REST sharing API page (with or without the query parameter f=json), for example: https://www.arcgis.com/sharing/rest/content/items/579f97b2f3b94d4a8e48a5f140a6639b?f=json
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.3 - 200.6 |
Xamarin.Android | 100.3 - 100.14 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 200.6 |
Scene(Item)
Declaration
public Scene(Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The web scene item. Only PortalItem is supported. |
Remarks
The PortalItem automatically loads when the Scene loads. If the loaded Item is not a portal item of type WebScene, the scene fails to load.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.3 - 200.6 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 200.6 |