跳转到内容

desiredResidency

此内容尚不支持你的语言。

desiredResidency(cells, sources, resident): ResidencyDecision

Defined in: residency/cells.ts:125

Which cells should exist, given where the sources are and what is resident.

A UNION, never a fold: a fold lets the last source win, and a second camera then deletes the world the first is standing in. The band is the other half — in at loadRadius, out past unloadRadius, so a boundary is not a treadmill.

readonly WorldCell[]

readonly ResidencySource[]

ReadonlySet<string>

ResidencyDecision