Arc GISScene Layer
A layer to visualize data from an ArcGIS scene service or a local scene package. Scene layers display content from a scene service or a scene package.
ArcGISSceneLayer optimized to displaying large amounts of data in a SceneView. It can display data published as scene services, scene layer packages (.slpk), and scene layers in mobile scene packages (.mspk).
ArcGISSceneLayer supports:
3D Object (e.g. buildings)
Integrated mesh (e.g. buildings, trees, and elevation) (see IntegratedMeshLayer)
Point features (e.g. trees)
The scene layer complies with the Indexed 3D Scene layer (I3S)[https://github.com/esri/i3s-spec] format. It is an open 3D content delivery format used to disseminate 3D GIS data to mobile, web, and desktop clients.
Functional characteristics
3D object — 3D object scene layers contain objects explicitly modeled in three dimensions and are used to represent objects such as buildings. These features have attributes and can be identified. See the 3D Object Scene Layer[https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/the-3d-objects-scene-layer-in-arcgis-pro.htm] for more information.
Integrated mesh — 3D mesh data is typically captured by an automated process for constructing 3D objects out of large sets of overlapping imagery. The result integrates the original input image information as a textured mesh including 3D objects, such as buildings and trees, and elevation information. Integrated mesh scene layers are often created for citywide 3D mapping. They can represent something as small as a single building or as large as a city or state. They are often assembled automatically from imagery collected by a drone; they cannot be restyled because there is no underlying feature data. See the Integrated Mesh Scene Layer[https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/the-integrated-mesh-scene-layer-in-arcgis-pro.htm] for more information.
Point features — To ensure fast visualization, cached scene layers are used to display large amounts of 3D point data about individual features, such as all the trees in a city. Point scene layers have features that can be identified and that have attributes that may be cached or available from an associated feature layer. The display of point scene layers is automatically thinned to improve performance and visibility at smaller scales and longer distances. Automatic thinning means that not all features are displayed at small scales; as you zoom in, additional features are displayed. See the Point scene layer[https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/the-point-scene-layer-in-arcgis-pro.htm] for more information.
Point scene layers are generated from point feature layers. Point scene layers can be generated by ArcGIS Pro and hosted as a scene service or scene layer package.
Note: When publishing a scene from ArcGIS Pro (sharing as a web scene) any point feature layers in the 3D Layers section of the contents pane will be published as a scene service. The scene service will be referenced within the web scene.
Performance characteristics
For a scene layer, the rendering of 3D data is based on the current level of detail (LOD), which is determined by the distance from the camera. Each object in a 3D object service is represented differently at various LODs determined by the camera distance. As the camera distance changes in the scene, objects will be displayed appropriately for the current LOD. This results in good client performance and low memory usage, at the expense of frequently loading and unloading objects.
Since
200.1.0
See also
Constructors
Creates an ArcGIS scene layer from a PortalItem representing an ArcGIS scene service. The item's type should be PortalItemType.SceneService.
Creates an ArcGIS scene layer from the specified URI. If the specified URI is a portal item URL, the item's type should be PortalItemType.SceneService. The underlying PortalItem can be accessed through Layer.item.
Properties
The layer altitude offset. This raises or lowers all features in the scene layer by the given offset.
The type of data contained in an ArcGIS scene layer, such as integrated mesh or 3D scene objects. This can only be established once the scene layer has loaded.
The feature table associated with this layer.
True if labels should be displayed, false otherwise. Note that this property is only supported for SceneLayerDataType.Point layers.
A filter applied to a feature-based ArcGISSceneLayer to include or exclude features within the polygons.
Specifies how the 3D objects or point features in the layer are symbolized. Only SimpleRenderer, UniqueValueRenderer, and ClassBreaksRenderer are currently supported for ArcGISSceneLayer. If the renderer provided is not one of these supported renderer types, then a 3D object scene layer draws the original textures while a point scene layer does not draw. A LayerViewState that contains an error indicating the use of an unsupported renderer is also raised on the SceneView.
The surface placement specifies how the layer's data should be placed in relation to the scene's surface.
Inherited properties
The API key allows your app to access ArcGIS location services and private portal items. An API key is a unique long-lived access token that is used to authenticate and monitor requests to ArcGIS location services and private portal items. You can create and manage an API key using your portal when you sign in with an ArcGIS Location Platform account or an ArcGIS Online account with administrator access or a custom role that has the Generate API keys
privilege. To learn how to create and manage API keys, go to the Create an API Key tutorial. You must ensure that your API key has the correct privileges to access secure resources.
The attribution text for the layer.
A flag indicating whether the layer content's visibility can be changed. A flag indicating whether the layer content visibility can be changed. Will return false if an error occurs.
The description for the layer.
Defines the properties that allow a layer to be floor-aware. When a layer is configured as floor-aware, it has a FloorAware.floorDefinition property that defines properties that allow a layer to be floor-aware. When it is null (default value) the specific layer does not support floor filtering.
The full extent of this layer, which is the extent where all layer data is contained. You can use this to zoom to all of the data contained in this layer. For feature layers, the extent is retrieved from its FeatureTable.extent.
The unique identifying string for the layer, as specified in a map or scene. The id is used by other parts of this API to refer to a specific Layer, such as in a set of FeatureFenceParameters or a FacilityLayerDefinition. If not supplied, all layers will be assigned a unique id when created.
True if the layer supports identify, false otherwise. The value of this property may not be correct until the layer is in a fully loaded state.
The load status.
The maximum scale for the layer. The maximum scale at which this layer is visible. If the map or scene is zoomed in beyond this scale, the layer will not be visible. A value of 0 means there is no maximum scale threshold and the layer will be visible at the smallest scale available for the map or scene. If the value is nil, there is no maximum scale. All of the connected map and scene views will be updated.
The minimum scale for the layer. The minimum scale at which this layer is visible. If the map or scene is zoomed out beyond this scale, the layer will not be visible. A value of 0 means there is no minimum scale threshold and the layer will be visible at the largest scale available for the map or scene. If the value is nil, there is no minimum scale. All of the connected map and scene views will be updated.
A flag indicating whether the layer content participates in the legend. A flag indicating whether the layer content is shown in the legend.
The spatial reference of the layer.
The sub layer contents of a layer content.
Callback invoked when the visibility of the layer changes.
Functions
Clears all selected features.
Clones the ArcGISSceneLayer.
Returns a collection of the currently selected features.
Reset the visibility of all features back to their original state.
Selects the given feature and adds it to the current list of selected features.
Selects the features in the collection and adds them to the current collection of selected features.
Sets the visibility of all features in the collection.
Sets the visibility of the given feature.
Unselects the given feature and removes it from the current collection of selected features.
Unselects the features in the given collection and removes them from the current collection of selected features.
Inherited functions
Cancels loading metadata for the Loadable object.
Fetches the list of legend info.
Returns the layer content's effective visibility at the specified scale. Returns the effective layer content visibility. This effective visibility takes care of the effective visibility of the parents at the specified scale. Will return false if an error occurs.