For the complete documentation index, see llms.txt. This page is also available as Markdown.

Stream Controller Settings

The StreamController is the scene-level manager for all streaming models. It drives LOD selection, manages triangle budgets, and runs occlusion culling. There should be one StreamController per scene.

Key Inspector Fields

Field
Default
Description

Viewer Camera

Camera used for LOD and occlusion decisions. Falls back to Camera.main if unset.

Triangle Budget

3,000,000

Maximum triangles in the scene. Recommended: at least 30% of total polygons you plan to stream.

VRAM Budget

0 (unlimited)

Maximum GPU memory in MB. 0 = no limit.

Distance Factor

1.1

Preference for nearby objects. Above 1 = favor nearby; below 1 = favor distant; 1 = neutral.

Close Up Distance

3

Distance (meters) at which Close Up Distance Factor kicks in. 0 = disabled.

Close Up Distance Factor

5

Distance factor when camera is closer than Close Up Distance.

Distance Type

Bounding Box

BoundingBox (nearest edge) or BoundingBoxCentre (center point). Use BoundingBoxCentre for walkable environments.

Max Download Size MB

16

Concurrent download throttle.

Maximum Quality

0

Cap on LOD improvement. 0 = no cap.

Occlusion Culling

Field
Default
Description

Occlusion Culling

true

Raycast-based dynamic occlusion culling. Requires a layer named PolygonStreaming.

Time Slicing

120

Frames to accumulate before hiding an occluded object.

Rays Per Frame

256

Occlusion rays cast per frame.

Occlusion culling requires a layer named exactly PolygonStreaming in Edit > Project Settings > Tags and Layers. The SDK auto-creates this layer in the Editor.

Last updated

Was this helpful?