Interface BaseViewContext

interface BaseViewContext {
    cameraFlight: CameraFlightAnimation;
    collisionIndex: SceneCollisionIndex;
    dataModel?: DataModel;
    renderer: Renderer;
    sceneModel: SceneModel;
    studio: Studio;
    view: View;
}

Hierarchy (View Summary)

Properties

cameraFlight: CameraFlightAnimation

Camera flight controller used for framing actions.

collisionIndex: SceneCollisionIndex

Spatial index used to resolve object and scene bounds.

dataModel?: DataModel

Optional data model associated with the current scene model.

renderer: Renderer

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

sceneModel: SceneModel

Scene model associated with the current view.

studio: Studio

Demo helper used for view and inspector actions.

view: View

Active view for the context menu.