dpiAwareViewports

dpiAwareViewports: undefined | boolean

If true, ScreenViewports will respect the DPI of the display. See Viewport.devicePixelRatio and Viewport.cssPixelsToDevicePixels.

see RenderSystem.Options.dpiAwareLOD to control whether device pixel ratio affects the level of detail for tile graphics and decorations.

see Viewport.cssPixelsToDevicePixels to convert CSS pixels to device pixels.

see Viewport.devicePixelRatio.

Default value: true

Defined in

Last Updated: 12 June, 2024