Large worlds · interface
CellStreamOptions
Explained in Coordinates and units.
interface CellStreamOptionsimport type { CellStreamOptions } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
storereadonly | CellStore | |
sizereadonly | number | Cell edge length, world units. |
radiusreadonly | number | How far around a view cells are wanted. |
hysteresisreadonly | number | How many pumps a cell may go unwanted before it is dropped. |
originreadonlyoptional | ArrayLike<number> | The render origin the predicted views are relative to. Absent means the world origin. |
projectionreadonlyoptional | ArrayLike<number> | The projection the predicted views are drawn through. With it, a stream also wants the cells
those views look into, out to its far plane; without it, only the cells within radius. |
maxCellsreadonlyoptional | number | The most cells one view's query may walk. See CellGrid. |