This document is archived and information here might be outdated.  Recommended version.


IScene Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

IScene Interface

Provides access to members that control the scene.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Members

Description
Read/write property ActiveGraphicsLayer The active graphics layer. If no graphic layers exist, a basic memory graphics layer will be created.
Method AddLayer Adds a layer to the scene.
Method AddLayers Adds multiple layers to the scene, optionally arranging them automatically.
Method Applies Indicates if the given object is supported by the scene.
Read/write property AreaOfInterest The area of interest for the scene.
Read-only property BasicGraphicsLayer The basic graphics layer.
Method ClearLayers Removes all layers from the scene.
Method ClearSelection Clears the scene's selection.
Method DelayEvents Used to batch operations together in order to minimize system notifications.
Method DeleteLayer Deletes a layer from the scene.
Read/write property Description The description of the scene.
Read/write property ExaggerationFactor The vertical exaggeration of the scene.
Read-only property Extent The extent of the scene.
Read/write property FeatureSelection The scene's feature selection.
Method GetDefaultBackgroundColor Returns the default background color.
Read-only property Layer The layer corresponding to a given index.
Read-only property LayerCount The number of layers in the scene.
Read-only property Layers The layers in the scene of the type specified in the UID. If 'recursive' is true, includes layers in group layers.
Method MoveLayer Moves a layer to another position within the Table Of Contents.
Read/write property Name The name of the scene.
Method ProposeSpatialReference Proposes a spatial reference for the scene.
Method RecalculateExtent Forces the scene's extent to be recalculated.
Read-only property SceneGraph The scene's scenegraph.
Method SelectByShape Selects features in the scene given a shape and an optional selection environment.
Method SelectFeature Selects a feature.
Read-only property SelectionCount The number of selected features.
Method SetDefaultBackgroundColor Sets the default background color.
Read/write property SpatialReference The spatial reference of the scene.
Method SuggestExaggerationFactor Returns the vertical exaggeration factor that achieves the aspect ratio for the scene's extent.

CoClasses that implement IScene

CoClasses and Classes Description
Globe (esriGlobeCore) A container for the display and manipulation of data in the Globe.
Scene A container for the display and manipulation of data.

.NET Snippets

Create Animation by Interpolating Between Two Keyframes | Add KML Data to Globe | Get Globe from Application | Create Animation from Path | Zoom to Globe Layer | Set Group Layer Cache | Zoom to Selected Globe Features | Zoom to 3D Bookmark | Add Bookmark3D to SceneBookmarks | Add Graphics Layer to Globe | Create Group Layer Animation

.NET Samples

3D dynamic element tracking (Code Files: TrackDynamicObject) | Globe Fly tool (Code Files: Fly) | Creating a toolbar of globe tools (Code Files: TableOfContents) | Custom scene navigation commands (Code Files: SelectFeatures SelectGraphics) | Create camera flyby from path (Code Files: frmCameraPath)

.NET Related Topics

3DAnalyst | 3DAnalystUI | Animation | Creating a layer animation in globe | GlobeCore | How to animate the camera along a path (line feature) in globe | How to create and zoom to a bookmark in globe | How to zoom to a layer in globe | How to zoom to selected features in globe