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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.5 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 100.15 |
Relevant samples
Open mobile scene package: Opens and displays a scene from a Mobile Scene Package (.mspk).