Options for creating Instance

interface InstanceOptions {
    camera?: PerspectiveCamera;
    crs: string;
    mainLoop?: MainLoop;
    renderer?: RendererOptions;
    scene3D?: Scene;
}

Hierarchy

  • CameraOptions
    • InstanceOptions

Properties

camera?: PerspectiveCamera

the THREE camera to use

crs: string

The coordinate reference system of the scene. Must be a cartesian system. Must first be registered via Instance.registerCRS

mainLoop?: MainLoop
renderer?: RendererOptions
scene3D?: Scene

The Three.js Scene instance to use, otherwise a default one will be constructed