Interface ViewObjectContextMenuContext

Context object consumed by ViewObjectContextMenu.

interface ViewObjectContextMenuContext {
    aabb3index: SceneAABB3Index;
    cameraFlight: CameraFlightAnimation;
    dataModel?: DataModel;
    demoHelper: DemoHelper;
    renderer: WebGLRenderer;
    sceneModel: SceneModel;
    view: View;
    viewObject: ViewObject;
}

Hierarchy

  • BaseViewContext
    • ViewObjectContextMenuContext

Properties

aabb3index: SceneAABB3Index

Spatial index used to resolve object and scene bounds.

cameraFlight: CameraFlightAnimation

Camera flight controller used for framing actions.

dataModel?: DataModel

Optional data model associated with the current scene model.

demoHelper: DemoHelper

Demo helper used for view and inspector actions.

renderer: WebGLRenderer

WebGL renderer used for capturing screenshots and other renderer-related actions.

sceneModel: SceneModel

Scene model associated with the current view.

view: View

Active view for the context menu.

viewObject: ViewObject

View object currently targeted by the menu.