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


ISceneViewer Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IS > ISceneViewer Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (3DAnalyst)  

ISceneViewer Interface

Provides access to members that conrtrol the scene viewer.

Product Availability

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

Members

Name Description
Read/write property Camera The scene viewer's camera.
Read/write property Caption The scene viewer's caption.
Method ClearGesture Clears the last gesture.
Method DrawToMetafile Draws the contents of the viewer to a device.
Read/write property GestureEnabled Indicates if gesturing is enabled.
Read/write property GestureSensitivity The gesture sensitivity as indicated by number of pixels.
Method GetScreenShot Saves the content of the scene viewer and any windows superimposed on the scene viewer as an image.
Method GetSnapshot Saves the content of the scene viewer as an image.
Read-only property hDC The associated device context.
Read/write property hRC The OpenGL rendering context.
Read/write property hWnd The associated window handle.
Method MakeCurrent Makes the associated rendering context current.
Method OverrideDefaultHandler Supersedes the default event handler.
Method Redraw Redraws the scene viewer.
Read/write property SceneGraph The scene viewer's scene graph.

CoClasses that implement ISceneViewer

CoClasses and Classes Description

.NET Snippets

Navigate Scene to Bookmark3D | Zoom to Globe Layer | Toggle Between Surface and Global Navigation Mode | Create Animation from Keyframes | Zoom to Selected Globe Features | Zoom to 3D Bookmark | Get SceneViewer from SceneControl

.NET Samples

3D dynamic element tracking (Code Files: TrackDynamicObject) | Set sun position tool (Code Files: SunPositionTool) | Navigating around the GlobeControl (Code Files: Navigation) | Effects in the GlobeControl (Code Files: Effects) | Multiple globe viewers (Code Files: MultipleGlobeViewers) | Creating a toolbar of globe tools (Code Files: GeographicCoordinates) | Custom scene navigation commands (Code Files: ExpandFOV Fly NarrowFOV Pan ZoomIn ZoomInOut ZoomOut)

.NET Related Topics

3DAnalyst | How to wire ArcObjects .NET events | How to zoom to a layer in globe | How to zoom to selected features in globe