Namespace: Esri::GameEngine::Layers
Class: Esri/GameEngine/Layers/ArcGISBuildingSceneLayer
Since: 1.2.0
Inheritance: ArcGISLayer->ArcGISBuildingSceneLayer
Summary
A layer that may be used to visualize building models exported from Building Information Modeling (BIM) projects.
Constructors
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
Yes | No | A ArcGISBuildingAttributeFilter from ArcGISBuildingSceneLayer::BuildingAttributeFilters to apply. | ||
ArcGISCollection<ArcGISBuildingAttributeFilter> | No | Yes | A collection of all ArcGISBuildingAttributeFilter that can be applied, including those available from the service or package. | |
Yes | No | The ArcGISSpatialFeatureFilter to apply to the layer. | ||
ArcGISImmutableCollection<ArcGISBuildingSceneSublayer> | No | Yes | An immutable collection of |
ActiveBuildingAttributeFilter
ArcGISBuildingAttributeFilter GetActiveBuildingAttributeFilter() const
void SetActiveBuildingAttributeFilter(const ArcGISBuildingAttributeFilter& activeBuildingAttributeFilter)
A ArcGISBuildingAttributeFilter from ArcGISBuildingSceneLayer::BuildingAttributeFilters to apply.
Must contain a filter that is part of ArcGISBuildingSceneLayer::BuildingAttributeFilters, otherwise a ArcGISErrorType::CommonInvalidArgument exception will occur. If the active filter is set to null, then no filter is applied.
BuildingAttributeFilters
ArcGISCollection<ArcGISBuildingAttributeFilter> GetBuildingAttributeFilters() const
A collection of all ArcGISBuildingAttributeFilter that can be applied, including those available from the service or package.
To enable a building attribute filter on a layer, specify a ArcGISBuildingSceneLayer::ActiveBuildingAttributeFilter from this collection.
FeatureFilter
ArcGISSpatialFeatureFilter GetFeatureFilter() const
void SetFeatureFilter(const ArcGISSpatialFeatureFilter& featureFilter)
The ArcGISSpatialFeatureFilter to apply to the layer.
Feature filtering is not supported on mobile devices.
Sublayers
ArcGISImmutableCollection<ArcGISBuildingSceneSublayer> GetSublayers() const
An immutable collection of Building
.
Methods
Signature | Return Type | Summary |
---|---|---|
ArcGISFuture<ArcGISDictionary<FString, ArcGISBuildingSceneLayerAttributeStatistics>> | Asynchronously fetches available statistics for each feature attribute defined in this ArcGISBuildingSceneLayer. Statistics are stored as a ArcGISDictionary<Key, Value> of key-value pairs, with each key being the attribute's name, and the associated value being a group of relevant statistics. |
FetchStatisticsAsync
ArcGISFuture<ArcGISDictionary<FString, ArcGISBuildingSceneLayerAttributeStatistics>> FetchStatisticsAsync()
Asynchronously fetches available statistics for each feature attribute defined in this ArcGISBuildingSceneLayer. Statistics are stored as a ArcGISDictionary<Key, Value> of key-value pairs, with each key being the attribute's name, and the associated value being a group of relevant statistics.
Since 1.4.0
Returns ArcGISFuture<ArcGISDictionary<FString, ArcGISBuildingSceneLayerAttributeStatistics>>
A ArcGISFuture<T> that returns a ArcGISDictionary<Key, Value> of ArcGISBuildingSceneLayerAttributeStatistics for the ArcGISBuildingSceneLayer
Events
Name | Type | Summary |
---|---|---|
Active | Invokes the callback when the ArcGISBuildingSceneLayer::ActiveBuildingAttributeFilter changes. |