跳转到内容

SceneStreamingController

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

Defined in: sceneStreaming.ts:80

new SceneStreamingController(host, config?): SceneStreamingController

Defined in: sceneStreaming.ts:94

SceneStreamHost

SceneStreamingConfig

SceneStreamingController

clear(): void

Defined in: sceneStreaming.ts:114

void


configure(config): void

Defined in: sceneStreaming.ts:99

SceneStreamingConfig

void


getActive(): string[]

Defined in: sceneStreaming.ts:137

Scenes the controller currently holds in-range.

string[]


getFocusEntity(): number | null

Defined in: sceneStreaming.ts:132

number | null


register(cell): void

Defined in: sceneStreaming.ts:105

StreamCell

void


setFocus(x, y): void

Defined in: sceneStreaming.ts:122

Set the focus directly (or let the streaming system read a focus entity).

number

number

void


setFocusEntity(entity): void

Defined in: sceneStreaming.ts:128

Follow an entity; the streaming system reads its Transform each tick.

number | null

void


unregister(scene): void

Defined in: sceneStreaming.ts:109

string

void


update(): void

Defined in: sceneStreaming.ts:142

Reconcile resident cells against the current focus. Idempotent per tick.

void