Large worlds · interface

HlodOptions

Explained in Coordinates and units.

interface HlodOptions
import type { HlodOptions } from '@driftengine/core';

Properties

NameTypeDescription
capacityreadonlynumberThe most regions the set holds at once.
maxLevelsreadonlyoptionalnumberThe most levels a region may carry. 4 unless stated.
pixelTolerancereadonlyoptionalnumberHow many pixels of geometric error a level may show before a finer one is drawn. 1.5 unless stated.
hysteresisreadonlyoptionalnumberThe band around each switch, as a fraction of its distance. 0.15 unless stated.
fadeSecreadonlyoptionalnumberSeconds a crossfade takes. 0.4 unless stated; 0 switches at once.
farDistancereadonlyoptionalnumberBeyond this, a region is drawn at no level at all. Unbounded unless stated.