Click or drag to resize

SceneView Class

The SceneView is a container that holds a Scene. It is the 3d mapping component of the ArcGIS Runtime .NET SDK. It can contain mapping layers and responds to user interaction (touch, mouse, keyboard) and provides behavior for scene navigation. It has multiple properties.
Inheritance Hierarchy
SystemObject
  Java.Lang.Object
    Xamarin.Forms.View
      Android.Views.ViewGroup
        Esri.ArcGISRuntime.UI.ControlsGeoView
          Esri.ArcGISRuntime.UI.ControlsSceneView

Namespace:  Esri.ArcGISRuntime.UI.Controls
Assembly:  Esri.ArcGISRuntime.Android (in Esri.ArcGISRuntime.Android.dll) Version: 100.9.0.0
Syntax
C#
public class SceneView : GeoView

The SceneView type exposes the following members.

Constructors
  NameDescription
Public methodSceneView
Initializes a new instance of the SceneView class.
Public methodSceneView(Context)
Initializes a new instance of the SceneView class.
Public methodSceneView(Context, IAttributeSet)
Initializes a new instance of the SceneView class.
Top
Properties
  NameDescription
Public propertyAmbientLightColor
Gets or sets the ambient light.
Public propertyAnalysisOverlays
Gets or sets the analysis overlay collection containing the analysis overlay objects.
Public propertyAtmosphereEffect
Gets or sets the effect applied to the scene's atmosphere.
Public propertyAttributionText
Gets the full attribution text for all active layers, concatenated into a single string.
(Inherited from GeoView.)
Public propertyCalloutStyle
Gets or sets the CalloutStyle for callouts on this GeoView.
(Inherited from GeoView.)
Public propertyCamera
Gets the current Camera for the view.
Public propertyCameraController
Gets or sets the SceneView camera controller which determines the camera interaction and navigation model.
Public propertyDrawStatus
Returns the current draw status
(Inherited from GeoView.)
Public propertyFieldOfView
Gets the horizontal field of view of the scene view in degrees.
Public propertyFieldOfViewDistortionRatio
Gets how much the vertical field of view is distorted.
Public propertyGraphicsOverlays
Gets or sets the GraphicsOverlayCollection.
(Inherited from GeoView.)
Public propertyImageOverlays
Gets or sets the ImageOverlayCollection.
Public propertyInteractionOptions
Gets or sets the sketch editor used for drawing and editing on the map.
Public propertyIsAttributionTextVisible
Gets or sets a value indicating whether Esri attribution text is visible.
(Inherited from GeoView.)
Public propertyIsCalloutVisible
Gets a value indicating whether a callout is currently open
(Inherited from GeoView.)
Public propertyIsNavigating
Gets a value indicating whether the map is currently navigating. when navigation has finished the NavigationCompleted event will be raised.
(Inherited from GeoView.)
Public propertyIsWrapAroundEnabled
Indicates whether the wrap around feature is currently active. For wrap around to be active the WrapAroundMode property must be set to true and the SpatialReference of the MapView control must be a SpatialReference that supports wrapping.
(Inherited from GeoView.)
Public propertyStatic memberMemoryLimit
Gets or sets the amount of total memory a process can use to render scene data. Note that setting this property must be done before any SceneView instances are constructed. The value is in bytes.
Public propertyScene
Gets or sets the scene the view is rendering.
Public propertySpaceEffect
Gets or sets a value indicating whether outer space is black with stars or transparent in the scene view.
Public propertySpatialReference
Gets the current spatial reference of the map
(Inherited from GeoView.)
Public propertySunLighting
Gets or sets the type of lighting applied to the scene view.
Public propertySunTime
Gets or sets the position of the Sun.
Public propertyViewInsetsBottom
Gets the bottom view inset
(Inherited from GeoView.)
Public propertyViewInsetsLeft
Gets the left view inset
(Inherited from GeoView.)
Public propertyViewInsetsRight
Gets the right view inset
(Inherited from GeoView.)
Public propertyViewInsetsTop
Gets the top view inset
(Inherited from GeoView.)
Top
Methods
  NameDescription
Public methodCancelSetViewpointOperations
Cancels any pending or currently running SetViewpointAsync operations.
(Overrides GeoViewCancelSetViewpointOperations.)
Public methodDismissCallout
Dismisses a callout if it's open.
(Inherited from GeoView.)
Public methodExportImageAsync
Creates an image snapshot of the current map view
(Inherited from GeoView.)
Public methodGetCurrentViewpoint
Gets the current Viewpoint of the view.
(Inherited from GeoView.)
Public methodGetLayerViewState
Gets the LayerViewState for the given layer.
(Inherited from GeoView.)
Public methodIdentifyGraphicsOverlayAsync(GraphicsOverlay, PointF, Double, Boolean)
Initiates an identify operation on the specified graphics overlay which will return the visible topmost graphic.
(Inherited from GeoView.)
Public methodIdentifyGraphicsOverlayAsync(GraphicsOverlay, PointF, Double, Boolean, Int64)
Initiates an identify operation on the specified graphics overlay.
(Inherited from GeoView.)
Public methodIdentifyGraphicsOverlaysAsync(PointF, Double, Boolean)
Initiate an identify operation on all graphics overlays which will return the single visible topmost graphic per overlay only.
(Inherited from GeoView.)
Public methodIdentifyGraphicsOverlaysAsync(PointF, Double, Boolean, Int64)
Initiate an identify operation on all graphics overlays.
(Inherited from GeoView.)
Public methodIdentifyLayerAsync(Layer, PointF, Double, Boolean)
Initiates an identify operation on the specified layer which will return the single visible topmost GeoElement only.
(Inherited from GeoView.)
Public methodIdentifyLayerAsync(Layer, PointF, Double, Boolean, Int64)
Initiates an identify operation on the specified layer.
(Inherited from GeoView.)
Public methodIdentifyLayerAsync(Layer, PointF, Double, Boolean, CancellationToken)
Initiates an identify operation on the specified layer which will return the single visible topmost GeoElement only.
(Inherited from GeoView.)
Public methodIdentifyLayerAsync(Layer, PointF, Double, Boolean, Int64, CancellationToken)
Initiates an identify operation on the specified layer.
(Inherited from GeoView.)
Public methodIdentifyLayersAsync(PointF, Double, Boolean)
Initiates an identify operation on all layers in the view which will return the single visible topmost GeoElement per layer only.
(Inherited from GeoView.)
Public methodIdentifyLayersAsync(PointF, Double, Boolean, Int64)
Initiates an identify operation on all layers in the view.
(Inherited from GeoView.)
Public methodIdentifyLayersAsync(PointF, Double, Boolean, CancellationToken)
Initiates an identify operation on all layers in the view which will return the single visible topmost GeoElement per layer only.
(Inherited from GeoView.)
Public methodIdentifyLayersAsync(PointF, Double, Boolean, Int64, CancellationToken)
Initiates an identify operation on all layers in the view.
(Inherited from GeoView.)
Public methodLocationToScreen(MapPoint)
Converts a location in map coordinates to a screen coordinate relative to the upper-left corner of the scene.
Public methodLocationToScreen(MapPoint, LocationVisibility)
Converts a location in map coordinates to a screen coordinate relative to the upper-left corner of the scene.
Public methodScreenToBaseSurface
Converts a screen coordinate (in pixels) to a coordinate on the scene view's base surface.
Public methodScreenToLocationAsync
Async method to convert a screen point relative to the upper left of the SceneView into a location accounting for 3D features within the Scene.
Public methodSetFieldOfView(Double)
Sets the horizontal field of view of the scene view in degrees.
Public methodSetFieldOfView(Double, Double)
Sets the field of view on the scene view in degrees and determines how much the vertical field of view is distorted.
Public methodSetFieldOfView(Single, Single, Single, Single, Single, Single, DeviceOrientation)
Allows for matching the field of view of the scene view to the field of view of a camera lens using the lens intrinsics characteristics.
Public methodSetViewInsets
Gets or sets the viewport padding in pixels.
(Inherited from GeoView.)
Public methodSetViewpoint
Sets the view to the given Viewpoint location
(Inherited from GeoView.)
Public methodSetViewpointAsync(Viewpoint)
Animates the view to the given Viewpoint location
(Inherited from GeoView.)
Public methodSetViewpointAsync(Viewpoint, TimeSpan)
Animates the view to the given Viewpoint location
(Inherited from GeoView.)
Public methodSetViewpointCamera
Sets the viewpoint camera in the scene view.
Public methodSetViewpointCameraAsync(Camera)
Changes the scene view to the new camera viewpoint asynchronously.
Public methodSetViewpointCameraAsync(Camera, TimeSpan)
Changes the scene view to the new camera viewpoint asynchronously using the specified duration to arrive.
Public methodShowCalloutAt(MapPoint, CalloutDefinition)
Shows a callout based on a CalloutDefinition at the given location.
(Inherited from GeoView.)
Public methodShowCalloutAt(MapPoint, View, PointF)
Shows a callout at the given location with Visual Element as content
(Inherited from GeoView.)
Public methodShowCalloutForGeoElement
Shows a callout for the given GeoElement at an appropriate location for the tap location by snapping to the geometry of the element.
(Inherited from GeoView.)
Top
Events
  NameDescription
Public eventDrawStatusChanged
Occurs when the DrawStatus property of this instance changes.
(Inherited from GeoView.)
Public eventGeoViewDoubleTapped
Occurs when an otherwise unhandled DoubleTap interaction occurs over the hit test area of the view.
(Inherited from GeoView.)
Public eventGeoViewHolding
Occurs when an otherwise unhandled holding interaction occurs over the hit test area of the view.
(Inherited from GeoView.)
Public eventGeoViewTapped
Occurs when an otherwise unhandled Tap interaction occurs over the hit test area of the view.
(Inherited from GeoView.)
Public eventLayerViewStateChanged
Occurs when the LayerViewState of a contained layer changes.
(Inherited from GeoView.)
Public eventNavigationCompleted
When navigation on the map has completed this event will be raised.
(Inherited from GeoView.)
Public eventSpatialReferenceChanged
Occurs when spatial reference of the view changes.
(Inherited from GeoView.)
Public eventViewpointChanged
Occurs when the current viewpoint changes.
(Inherited from GeoView.)
Top
Remarks

The SceneView is a container that holds a Scene. A Scene holds a collection of operational layers and Basemap. Layers are visual representations of geographic information and come in many forms. The types of layers that are displayed in a SceneView are three dimensional.

There is only one Scene per SceneView and it is set by the SceneView.Scene Property. Multiple Scene objects can be created and swapped out dynamically as the application is running in the SceneView.

See Also