Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Build a fully-populated NodeBuildCtx of vi.fn() stubs, with overrides applied last.

      Notable defaults:

      • registry is a REAL LoaderRegistry — the leaf specs assert on registry.loaders / failedLoaders membership, so a stub would not do.
      • deriveNodeViewState resolves to the EFFECTIVE view state, i.e. overrides.viewState when one is supplied and the default otherwise, so the derived state and ctx.viewState never disagree. That matches what the production deriveNodeViewState yields for a node with no extend_to_all and no nd_transform (production returns an equal copy rather than the same object; no spec asserts on the identity either way).
      • the lines/gsplats processors resolve null — their real "nothing staged" branch. processMeshData has no null branch by contract (and load-mesh-node dereferences the staged commit with no truthiness guard), so there is no honest zero-value to default it to; no spec currently reaches this default — the mesh spec supplies its own resolved commit — so it is left a bare stub.
      • lodGroupRegistry is optional on the interface and therefore has NO default — it comes only from overrides, so nothing forces a spec to fabricate a registry it never reads. Only load-lod-group-node reads it, and its spec always supplies one.

      Parameters

      Returns NodeBuildCtx