Minimal View-like object passed to VehicleNavigationController.

interface AircraftControllerViewProxy {
    camera: Camera;
    htmlElement: HTMLElement;
    id: string;
    needsRender?: () => void;
    objects: { [key: string]: ViewObject };
    viewer: Viewer;
}

Hierarchy

  • Pick<View, "id" | "htmlElement" | "camera" | "objects" | "viewer">
    • AircraftControllerViewProxy

Properties

camera: Camera

Manages the Camera for this View.

htmlElement: HTMLElement

The HTML canvas.

id: string

ID of this View, unique within the Viewer.

needsRender?: () => void

Marks the real View dirty when vehicle navigation changes the proxy camera.

objects: { [key: string]: ViewObject }

Map of the all ViewObjects in this View.

Each ViewObject is mapped here by ViewObject.id.

The View automatically ensures that there is a ViewObject here for each ViewObject in the Viewer

viewer: Viewer

The Viewer to which this View belongs.