Class SceneView
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.
Implements
Namespace: Esri.ArcGISRuntime.UI.Controls
Assembly: Esri.ArcGISRuntime.WinUI.dll
Syntax
public class SceneView : GeoView, INotifyPropertyChanged
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.
Constructors
Name | Description |
---|---|
SceneView() | Initializes a new instance of the SceneView class. |
Fields
Name | Description |
---|---|
AmbientLightColorProperty | Identifies the AmbientLightColor dependency property. |
AnalysisOverlaysProperty | Identifies the AnalysisOverlays dependency property. |
AtmosphereEffectProperty | Identifies the AtmosphereEffect dependency property. |
CameraControllerProperty | Identifies the CameraController dependency property |
ImageOverlaysProperty | Identifies the ImageOverlays dependency property. |
InteractionOptionsProperty | Identifies the InteractionOptions Dependency Property. |
SceneProperty | Identifies the Scene dependency property |
SpaceEffectProperty | Identifies the SpaceEffect dependency property. |
SunLightingProperty | Identifies the SunLighting dependency property. |
SunTimeProperty | Identifies the SunTime dependency property. |
Properties
Name | Description |
---|---|
AmbientLightColor | Gets or sets the ambient light. |
AnalysisOverlays | Gets or sets the analysis overlay collection containing the analysis overlay objects. |
AtmosphereEffect | Gets or sets the effect applied to the scene's atmosphere. |
Camera | Gets the current Camera for the view. |
CameraController | Gets or sets the SceneView camera controller which determines the camera interaction and navigation model. |
FieldOfView | Gets the horizontal field of view of the scene view in degrees. |
FieldOfViewDistortionRatio | Gets how much the vertical field of view is distorted. |
ImageOverlays | Gets or sets the collection of overlays for displaying images in the scene view. |
InteractionOptions | Gets or sets a set of properties that control user interaction with the SceneView. |
Scene | Gets or sets the scene the view is rendering. |
SpaceEffect | Gets or sets a value indicating whether outer space is black with stars or transparent in the scene view. |
SunLighting | Gets or sets the type of lighting applied to the scene view. |
SunTime | Gets or sets the position of the Sun. |
Methods
Name | Description |
---|---|
CancelSetViewpointOperations() | Cancels any pending or currently running SetViewpointAsync operations. |
LocationToScreen(MapPoint) | Converts a location in map coordinates to a screen coordinate relative to the upper-left corner of the scene. |
LocationToScreen(MapPoint, out LocationVisibility) | Converts a location in map coordinates to a screen coordinate relative to the upper-left corner of the scene. |
ScreenToBaseSurface(Windows.Foundation.Point) | Converts a screen coordinate (in pixels) to a coordinate on the scene view's base surface. |
ScreenToLocationAsync(Windows.Foundation.Point) | 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. |
SetFieldOfView(Double) | Sets the horizontal field of view of the scene view in degrees. |
SetFieldOfView(Double, Double) | Sets the field of view on the scene view in degrees and determines how much the vertical field of view is distorted. |
SetFieldOfView(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. |
SetViewpointCamera(Camera) | Sets the viewpoint camera in the scene view. |
SetViewpointCameraAsync(Camera) | Changes the scene view to the new camera viewpoint asynchronously. |
SetViewpointCameraAsync(Camera, TimeSpan) | Changes the scene view to the new camera viewpoint asynchronously using the specified duration to arrive. |
Applies to
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |