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


ISceneHookHelper Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

ISceneHookHelper Interface

Provides access to members needed when developing commands to work with the SceneControl, ArcScene, and custom controls and applications.

Product Availability

Available with ArcGIS Engine.

Description

Use the ISceneHookHelper interface to return the Scene, SceneGraph, SceneViewer and Camera of the hook passed to the ICommand::OnCreate event regardless of whether the hook is a SceneControl, ToolbarControl (with a 'buddy' SceneControl) or ArcScene.

Members

Description
Read-only property ActiveViewer Active scene viewer of hooked control or application.
Read-only property Camera Camera of hooked control or application.
Read/write property Hook Hook object that should be the same as the hook object passed in ICommand::OnCreate.
Read-only property Scene Scene of hooked control or application.
Read-only property SceneGraph SceneGraph of hooked control or application.

CoClasses that implement ISceneHookHelper

CoClasses and Classes Description
SceneHookHelper Helps commands work with the SceneControl, ArcScene, and custom controls and applications.

.NET Samples

Custom scene navigation commands (Code Files: ExpandFOV Fly FullExtent NarrowFOV Navigate Pan SelectFeatures SelectGraphics SetObserver TargetCenter TargetZoom ZoomIn ZoomInOut ZoomOut)

.NET Related Topics

3DAnalyst