Class BuildingFilter
Defines a set of conditions for filtering the features rendered in a BuildingSceneLayer.
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class BuildingFilter
Remarks
A filter uses BuildingFilterBlock objects to define conditions for displaying or hiding components of a BuildingSceneLayer. Only a single filter block may apply to a Feature at a time. The order of filter blocks influences the order in which the filter blocks are applied. For example, if a filter block is using a BuildingWireframeFilterMode that precedes a block that is using a BuildingSolidFilterMode in the collection, features that match both filter blocks will be drawn as wireframe.
BuildingFilters are only applied to a BuildingComponentSublayer with type SceneObject.
Constructors
| Name | Description |
|---|---|
| BuildingFilter(string, string, IEnumerable<BuildingFilterBlock>) | Initializes a new instance of the BuildingFilter class with filter blocks. |
Properties
| Name | Description |
|---|---|
| Blocks | Gets the filter blocks that define which features should be visible in the affected BuildingSceneLayer and how the filtered features should be drawn. |
| Description | Gets or sets the description of the filter. |
| FilterId | Gets the unique identifier of the filter. |
| Name | Gets or sets the name of the filter. |
Methods
| Name | Description |
|---|---|
| FromJson(string) | Convert a JSON string to an object. |
| ToJson() | Convert an object to JSON string. |
Applies to
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |