OptionaldeviceBacking pixels per CSS pixel. Defaults to window.devicePixelRatio (or 1).
OptionalzoomView scale applied by the engine. Defaults to 1.
OptionalautoTrack the canvas's CSS size with a ResizeObserver and repaint on change. Default true.
Optionalpresent"onDemand" (default) presents only when something requests a frame (a model edit, a
resize, an explicit Viewport.requestFrame); "continuous" presents every
animation frame, for hosts that animate.
Options for EngineModule.createViewport.