ArcGIS Explorer Component Help |
Layer..::.Behavior3D Property |
Layer Class See Also |
Assembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public virtual LayerBehavior3D Behavior3D { get; set; } |
Visual Basic (Declaration) |
---|
Public Overridable Property Behavior3D As LayerBehavior3D |
Field Value
A LayerBehavior3D value indicating whether the Layer should be draped over the terrain or used as a terrain elevation source. It is also possible to apply the most appropriate behavior when the nature of the data is unknown.Remarks
There are two ways data can be presented in a 3D map: draped over the existing terrain, or used as a terrain elevation source.
FeatureLayer, KmlLayer, GeoRssLayer and PackageLayer data are always draped over the existing terrain. Setting the Behavior3D property for these Layer types will cause an InvalidOperationException to be thrown.
Rather than being draped, raster and globe service layers have the ability to provide terrain elevation data; therefore it is possible to change the Behavior3D property for RasterLayer and ServiceLayer types. To specify that a Layer should be used as an elevation source set this property to LayerBehavior3D.ElevationSource.
If you are unsure whether the data should be used as terrain elevation or draped over existing terrain, set this property to LayerBehavior3D.Unknown and the most appropriate 3D behavior will be used based on the Layer and data type.