Local Scene View
A view that displays 3D content from an ArcGISScene with a viewing mode of SceneViewingMode.Local. Local scenes are used to view local 3D data in projected coordinate systems.
To display a local scene, add this view to your app and assign a local scene to it via LocalSceneView.scene. This view loads the local scene and its content, such as the GeoModel.basemap and the ArcGISScene.operationalLayers, and then renders the local scene on screen.
FloorAware is not supported in this view. Any layer floor aware configurations will be ignored.
Navigation:
Pan, zoom, and rotate user interactions are supported in this view using touch, or keyboard.
Programmatic Navigation:
The visible area (Viewpoint) of the local scene view is defined by the visible extent of the local scene. You can programmatically set the visible area by specifying a viewpoint. For example, GeoView.setViewpoint sets the visible area to a viewpoint, or LocalSceneView.setViewpointCamera sets the visible area by moving the camera. In addition, you can change the visible area with a smooth transition animation by calling GeoView.setViewpointAnimated or LocalSceneView.setViewpointCameraAnimated.
View errors:
This view supports three different errors to give the user helpful information.
The errors are:
LocalSceneView.criticalError: The most severe, this error means the view is unusable and cannot recover.
GeoView.geoModelError: Less severe, this error means the view is usable but nothing is displaying. Nothing is displaying because something is not configured correctly with the geo model.
LocalSceneView.warnings: The least severe, these warnings mean the view is usable but something may not look correct or as expected.
Since
300.0.0
Properties
The critical error on the view. A critical error happens when the view has reached an unusable state and it cannot recover.
The InteractionOptions for this LocalSceneView.
A SharedFlow which emits DoubleTapEvent when the user double taps on the screen.
A SharedFlow which emits InteractiveZoomingChangeEvent when a user performs a pinch or double-tap-drag gesture on the GeoView.
A SharedFlow which emits LongPressEvent when a user holds a pointer on the screen.
A SharedFlow which emits PanChangeEvent when a user drags a pointer or pointers across the screen.
A SharedFlow which emits RotationChangeEvent when a user performs a rotation gesture on the GeoView.
A SharedFlow which emits ScaleChangeEvent when a user performs a pinch gesture on the GeoView.
A SharedFlow which emits SingleTapConfirmedEvents when the user taps once on the screen.
A SharedFlow which emits TwoPointerTapEvent when a user taps two pointers on the screen.
The local scene that the local scene view is displaying. The scene needs to have a local viewing mode.
Inherited properties
A collection of analysis overlays that render the analysis results on the view.
A SharedFlow that emits when the view status of any analysis in the GeoView changes.
The attribution text for the data that is currently displayed in the GeoView.
The GeoView's current draw status.
The geo model error on the view. This error is used to indicate that the geo model assigned to the view had an issue loading or didn't meet the requirements after loading, resulting in nothing rendering on screen. The error could be resolved by replacing the geo model with one that meets the requirements or by ensuring the geo model can load successfully.
A collection containing the GraphicsOverlays.
A collection of overlays for displaying images in the view. An image overlay collection cannot belong to more that one GeoView.
True if attribution bar is visible in the GeoView, false otherwise.
Indicates whether the user is currently interacting with the GeoView.
Is the GeoView currently navigating.
True if continuous panning across the international date line is enabled in the GeoView, false otherwise. By default, a GeoView attempts to wrap the ArcGISMap or ArcGISScene across the international date line for a continuous panning user experience. The eastern and western hemispheres wrap to form a continuous map, giving the impression that the map is endless.
The view label properties. The view label properties are an overall control for whether labels will be created and displayed for layers added to the view. Individual layers can also control whether labels should be displayed for their features. Labels need to be enabled both in the view and in the layer. By default the labeling for a view is enabled. The view label properties also control global aspects of the label appearance e.g. animation effects.
A SharedFlow that emits when the view state of any layer in the GeoView changes.
A SharedFlow which emits a boolean to indicate that the navigation status of a GeoView has changed.
A SharedFlow that emits when the attribution bar's position or size changes due to expanding, collapsing, or inset changes.
The selection properties that is applied to the GeoView. This property allows configuration of new selection highlighting functionality such as selection promotion and switchable selection halo.
The SpatialReference is used to relate map coordinates to locations in the real world. This property is available when the view's map or scene has been loaded.
The current TimeExtent of the GeoView. The Time Extent of the GeoView defines how time-enabled data is displayed. Participating layers filter their data to only show data within the time extent set on the GeoView (see TimeAware for details). The range of the time extent includes the start and end values (a feature at 10/24/2016 would be included in a time extent defined as 10/24/2016 - 11/14/2016). Time filtering is not enabled until a non-null time extent is set on the GeoView. When the time extent is null on the GeoView, no time filtering is applied and all content is rendered.
A SharedFlow which notifies when the viewpoint of the view has changed.
Functions
Retrieves the camera that displays the current viewpoint.
Converts a location in map coordinates to a point in screen coordinates relative to the upper-left corner of the local scene view.
Converts a screen coordinate to a location on the base surface in scene coordinates, considering only the scene's base surface and ignoring other scene content. Note that the elevation value for the converted location is approximated, as the precision of the elevation value decreases with increasing distance between the camera and the surface.
Converts a screen coordinate to a location in scene coordinates, considering both the scene's base surface and other scene content.
Pans or zooms the local scene view using animation to the specified viewpoint location. The animation takes place over the specified duration. The animation curve defines the animation easing function.
Changes the display to the viewpoint specified by the given camera.
Animates the display to the viewpoint specified by the given camera using the specified duration to arrive.
Inherited functions
Exports the current view to the provided buffer.
Retrieves the analysis' status in the view. This method is not supported on LocalSceneView.
Retrieve the current viewpoint for this GeoView.
Retrieve the layer's view state.
Initiate an Identify operation on the specified graphicsOverlay.
Initiate an Identify operation on all graphics overlays.
Initiate an Identify operation on the specified layer.
Initiate an Identify operation on all layers in the view.
Sets the GeoView's viewpoint with the bookmark's value. Applies the viewpoint of the bookmark to the GeoView.
Sets the TimeExtent? value of the timeExtent StateFlow property.
Change the GeoView to the new viewpoint. The viewpoint is updated instantaneously.
Change the GeoView to the new viewpoint with animation. This function uses the standard animation duration.
Change the GeoView to the new viewpoint with animation, taking the given number of seconds to complete the navigation.