Class SceneView
The SceneView is a container that holds a Scene. It is the 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 such as its extent, scale, zoom factor, rotation, etc.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Xamarin.Forms
Assembly: Esri.ArcGISRuntime.Xamarin.Forms.dll
Syntax
[ContentProperty("Scene")]
public class SceneView : GeoView, INotifyPropertyChanged, IDynamicResourceHandler, INameScope, INavigationProxy, IAnimatable, ITabStopElement, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers
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 two dimensional in nature; meaning they are displayed in X/Y (a.k.a. Latitude/Longitude) coordinate space.
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.
Constructors
Name | Description |
---|---|
Scene |
Initializes a new instance of the Scene |
Fields
Name | Description |
---|---|
Ambient |
Identifies the Ambient |
Analysis |
Identifies the Analysis |
Atmosphere |
Identifies the Atmosphere |
Camera |
Identifies the Camera |
Image |
Identifies the Image |
Interaction |
Identifies the Interaction |
Scene |
Identifies the Scene bindable property. |
Space |
Identifies the Space |
Sun |
Identifies the Sun |
Sun |
Identifies the Sun |
Properties
Name | Description |
---|---|
Ambient |
Gets or sets the ambient light. |
Analysis |
Gets or sets the AnalysisOverlays collection. |
Atmosphere |
Gets or sets the effect applied to the scene's atmosphere. |
Camera | Gets the current Camera for the view. |
Camera |
Gets or sets the SceneView camera controller which determines the camera interaction and navigation model. |
Field |
Gets the horizontal field of view of the scene view in degrees. |
Field |
Gets how much the vertical field of view is distorted. |
Image |
Gets or sets the ImageOverlays collection. |
Interaction |
Gets or sets a set of properties that control user interaction with the SceneView. |
Scene | Gets or sets the scene the view is rendering. |
Space |
Gets or sets a value indicating whether outer space is black with stars or transparent in the scene view. |
Sun |
Gets or sets the type of lighting applied to the scene view. |
Sun |
Gets or sets the position of the Sun. |
Methods
Name | Description |
---|---|
Location |
Converts a location in map coordinates to a screen coordinate relative to the upper-left corner of the map. |
Location |
Converts a location in map coordinates to a screen coordinate relative to the upper-left corner of the scene. |
Screen |
Converts a screen point relative to the upper left of the map into a location on the map. |
Screen |
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. |
Set |
Sets the horizontal field of view of the scene view in degrees. |
Set |
Sets the field of view on the scene view in degrees and determines how much the vertical field of view is distorted. |
Set |
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. |
Set |
Sets the viewpoint camera in the scene view. |
Set |
Changes the scene view to the new camera viewpoint asynchronously. |
Set |
Changes the scene view to the new camera viewpoint asynchronously using the specified duration to arrive. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |