Skip to content

StreamingPolicy

Defined in: sdk/src/residency/WorldStreamer.ts:82

How much a world streams at once, and what it does when it falls behind.

maxLoadingCells: number

Defined in: sdk/src/residency/WorldStreamer.ts:87

Cells being prepared (fetched, decoded, their assets acquired) at once; an urgent cell is not held back by it. Default 4.


maxPublishingCells: number

Defined in: sdk/src/residency/WorldStreamer.ts:89

Cells being published (spawned over frames) at once. Default 1: one at a time.


slowStreaming: SlowStreamingPolicy

Defined in: sdk/src/residency/WorldStreamer.ts:91

See SlowStreamingPolicy. Default wait.


slowStreamingRatio: number

Defined in: sdk/src/residency/WorldStreamer.ts:96

A cell a source needs is URGENT when it is not in and the source is within this share of its loadRadius of it: distance to the cell over load radius. Default 0.25.