Skip To Content ArcGIS for Developers Sign In Dashboard

ArcGISSceneLayer QML Type

A layer that displays 3D features from a scene service. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

Layer

Properties

Signals

Methods

Detailed Description

ArcGISSceneLayer is a layer that can render 3D features based on a published scene service. The features are rendered based on the distance from the Camera. Features appear more detailed when they are closer to the camera.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
ArcGISItemitem
Credentialcredential
RequestConfigurationrequestConfiguration (since Esri.ArcGISRuntime 100.1)

Example:

Display an ArcGISSceneLayer with the URL to the REST endpoint of a scene service:

ArcGISSceneLayer {
    url: "https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Buildings_Brest/SceneServer/layers/0"
}

See also LayerContent, Cancelable, Loadable, and RemoteResource.

Property Documentation

altitudeOffset : double

Returns or sets the altitude offset of this layer.

An altitude offset provides a simple mechanism to consistently modify the elevation of all features in the layer with a single value.

This QML property was introduced in Esri.ArcGISRuntime 100.6.


[default] credential : Credential

The credential used to access the source of this layer.

The credential cannot be changed after the layer is loaded.


dataType : Enums.SceneLayerDataType

Gets the content type of an ArcGIS scene layer.

Return a Enums.SceneLayerDataType which identified the geometry and content type of and an ArcGIS scene layer.

The type of a scene layer can only be established after the layer has loaded. It can be used to identify the content type contained within the scene layer.

This QML property was introduced in Esri.ArcGISRuntime 100.5.


featureTable : FeatureTable

The feature table associated with this ArcGISSceneLayer.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


[default] item : ArcGISItem

The item being used by the scene layer.

The ArcGISItem represents a scene layer on ArcGIS Online or ArcGIS Enterprise portal.

The item cannot be changed after the layer is loaded.


[default] requestConfiguration : RequestConfiguration

The configuration parameters used for network requests sent by this layer.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


selectedFeaturesResult : FeatureQueryResult

A collection of selected features, the result of the last successful get selected features task.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


selectedFeaturesStatus : Enums.TaskStatus

The status for the task to get the selected features.

This QML property was introduced in Esri.ArcGISRuntime 100.3.

See also Enums.TaskStatus.


surfacePlacement : Enums::SurfacePlacement

The Enums.SurfacePlacement of the LayerSceneProperties.

The Enums.SurfacePlacement enumeration specifies how the surface defines altitude.

This QML property was introduced in Esri.ArcGISRuntime 100.6.


url : url

The URL to the source of this layer.

The URL represents one of the following:

  • A URL to an online service that has the feature data.
  • A URL to an item hosted on ArcGIS Online or ArcGIS Enterprise portal.
  • A local file URL to a scene layer package (.slpk).

The url cannot be changed after the layer is loaded.


Signal Documentation

altitudeOffsetChanged()

Emitted when the altitudeOffset property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.6.


credentialChanged()

Emitted when the credential property changes.


featureTableChanged()

Emitted when the featureTable property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


requestConfigurationChanged()

Emitted when the requestConfiguration property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.1.


selectedFeaturesStatusChanged()

Emitted when the selectedFeaturesStatus property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


urlChanged()

Emitted when the url property changes.


Method Documentation

void clearSelection()

Clears selection on all features.

This QML method was introduced in Esri.ArcGISRuntime 100.3.


void selectFeature(Feature feature)

Selects a feature, adding it to the current selection set.

This QML method was introduced in Esri.ArcGISRuntime 100.3.


void selectFeatures(list<Feature> features)

Selects multiple features, adding them to the current selection set.

This QML method was introduced in Esri.ArcGISRuntime 100.3.


void selectedFeatures()

Retrieves a list of selected features.

This method uses an asynchronous task that cannot be started if it is already running from a previous call to selectedFeatures. You should check that the selectedFeaturesStatus property is not Enums.TaskStatusInProgress before calling this method.

After the task starts, you may use the signal selectedFeaturesStatusChanged to monitor task status.

Returns a task ID that can be used to cancel the selectedFeatures task.

This QML method was introduced in Esri.ArcGISRuntime 100.3.

See also Cancelable.


void unselectFeature(Feature feature)

Unselects a feature, removing it from the current selection set.

This QML method was introduced in Esri.ArcGISRuntime 100.3.


void unselectFeatures(list<Feature> features)

Unselects multiple features, removing them from the current selection set.

This QML method was introduced in Esri.ArcGISRuntime 100.3.



Feedback on this topic?