World partition
WorldAnchor
Anchor component: keeps the cells around this transform loaded.
generated from the sources
Class in namespace
Nebula.World · Packages/com.1by3.nebula/World/WorldStreamer.cspublic sealed class WorldAnchor : MonoBehaviour, IWorldAnchorAnchor component: keeps the cells around this transform loaded. Put it on the player or the camera.
Fields
RadiusCells
public int RadiusCells = 1;Cells around this object to keep loaded (1 = the 3x3x3 block).
Primary
public bool Primary;The floating origin follows this anchor.
Methods
TryGetAnchor
public bool TryGetAnchor(out Vector3 framePosition, out int radiusCells);NebulaWorldStreaming
Decides, per role, which cells this process keeps loaded and where the floating origin sits: worker: the cells of every container it leases plus NebulaConfig.WorkerLoadRingCells rings around them (seam physics and ghosts need the neighbo...
WorldCell
Marks the root of a cell scene with its grid coordinate.