跳转到内容

WorldStreamingSourceData

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

Defined in: residency/components.ts:58

The fields of the WorldStreamingSource component.

enabled: boolean

Defined in: residency/components.ts:74


loadRadius: number

Defined in: residency/components.ts:67

Cells whose nearest edge is within this distance are asked for.


prefetchRadius: number

Defined in: residency/components.ts:65

Cells this close are PREPARED — fetched, decoded, their assets acquired — without being brought into the world. Speculation, never authority: a prepared cell a source turns away from is thrown away, not published. Clamped up to loadRadius.


unloadRadius: number

Defined in: residency/components.ts:73

A resident cell is only given up once its nearest edge passes this. Must exceed loadRadius: the gap between the two is the band that stops a source standing on a boundary from loading and unloading every frame.