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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.5 - 200.5 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.5 |
Relevant samples
Open mobile scene package: Opens and displays a scene from a Mobile Scene Package (.mspk).