ISceneHookHelper Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISceneHookHelper Interface (ArcObjects .NET 10.6 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

Name 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