Namespace: Esri::GameEngine::Layers::BuildingScene
Class: Esri/GameEngine/Layers/BuildingScene/ArcGISBuildingSceneSublayer
Since: 1.2.0
Implements: ArcGISLoadable
Summary
A class representing a sublayer of a ArcGISBuildingSceneLayer.
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
No | Yes | The building discipline (such as Architectural, Mechanical, or Structural) that this sublayer represents. | ||
No | No | Indicates if this sublayer is visible. | ||
No | Yes | The name of this ArcGISBuildingSceneSublayer. | ||
No | No | Layer opacity. | ||
No | Yes | The sublayer ID is defined by the scene service. | ||
ArcGISImmutableCollection<ArcGISBuildingSceneSublayer> | Yes | Yes | An immutable collection of |
Discipline
ArcGISBuildingSceneSublayerDiscipline GetDiscipline() const
The building discipline (such as Architectural, Mechanical, or Structural) that this sublayer represents.
IsVisible
bool GetIsVisible() const
void SetIsVisible(bool isVisible)
Indicates if this sublayer is visible.
Toggling the visibility of this sublayer will affect the visibility of all sublayers. If isVisible is set
to true, the is
settings of all sublayers will be honored. If isVisible is set to false, all sublayers
will not be visible, regardless of their own is
settings.
Opacity
float GetOpacity() const
void SetOpacity(float opacity)
Layer opacity.
Valid opacity values range from 0.0 (fully transparent) to 1.0 (fully opaque).
Sublayers
ArcGISImmutableCollection<ArcGISBuildingSceneSublayer> GetSublayers() const
An immutable collection of Building
.