Large worlds · interface
FrozenCell
One cell's frozen contents. Entities in ascending order, so the packing is deterministic.
Explained in Coordinates and units.
interface FrozenCellimport type { FrozenCell } from '@driftengine/core';In depth
Exported because whoever unloads a cell has to write this somewhere and read it back.
Properties
| Name | Type | Description |
|---|---|---|
entitiesreadonly | number[] | |
valuesreadonly | Float64Array | Each entity's values, one after another. |
countsreadonly | Int32Array | How many values each entity contributed, parallel to entities. |
digestreadonly | number | Computed once when the cell froze. Frozen state does not change, so neither does this. |