Show / Hide Table of Contents

Property Scenes

Scenes

Gets a collection of Scenes from the MobileScenePackage.

Declaration
public IReadOnlyList<Scene> Scenes { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<Scene>

A collection of Scenes from the MobileScenePackage.

Remarks

To use the scenes in a MobileScenePackage, you first need to load the package. The scenes are presented in the same order in which they were packaged with ArcGIS Pro. To display a Scene set the scene to a SceneView. This will automatically load the scene and all of its content. If you only need to access the scene's content or metadata, then you need to load it by calling LoadAsync(). If the package is not loaded, an empty collection is returned.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.5 - 200.7
Xamarin.Android100.5 - 100.15
Xamarin.iOS100.5 - 100.15
UWP100.5 - 200.7
Relevant samples
Open mobile scene package: Opens and displays a scene from a Mobile Scene Package (.mspk).
In This Article
Back to top Copyright © 2022 Esri.