Live camera accessor. A getter rather than a value because a host may swap camera objects (a perspective/ortho toggle), and a captured reference would keep projecting from the abandoned one.
Live viewport accessor, in CSS pixels. Read on resize and per LOD evaluation.
Host scene. The layer adds its root group on LuxarLayer.load and removes it on LuxarLayer.dispose.
OptionalrequestCalled when new geometry commits outside the host's own interaction — progressive refinement, lazy LOD loads, retries. Hosts with an on-demand render loop must wire this or late commits will not repaint. Hosts that render continuously can omit it.
OptionalloaderCache and prefetch flags forwarded to the data loader.
OptionalgpuSession-wide GPU geometry budget in bytes. null auto-sizes from device
memory, measured heap, and device class; 0 disables byte-budget eviction,
and a positive value pins the budget. Defaults to
config.dataLoading.performance.gpuPoolMaxBytes.
OptionalwasmOverride for bundlers that can't resolve import.meta.url asset URLs.
OptionalworkerSame, for the data worker.
OptionallodCross-fade adjacent replacement LOD levels. Default true.
OptionallodCompensate incomplete stream ladders by committed energy. Default true.
OptionallodForce the finest replacement LOD regardless of coverage. Default false.
OptionallodReplacement-LOD bias in screen-area units. Non-finite or non-positive
values are treated as the neutral 1. Default 1.
OptionaldepthWorker-based back-to-front sorting for order-dependent geometry. Default true.
OptionalrenderrenderOrder stamped onto every Group in the layer subtree. Three.js uses
the nearest Group's value as the primary transparent-sort key, so nested
scene / LOD / partition groups must agree. Default 10.
Host-owned renderer. The layer never constructs, resizes, clears, or disposes it — it only reads capabilities and the drawing-buffer size.