class

FSectorEntityStreamer

Module
Game
Header
#include "Streaming/SectorEntityStreamer.h"
Namespace
Mowo

Constructors

SignatureNameDescription
FSectorEntityStreamer() = defaultFSectorEntityStreamer
~FSectorEntityStreamer()~FSectorEntityStreamer
FSectorEntityStreamer(const FSectorEntityStreamer&) = deleteFSectorEntityStreamer

Public functions

ReturnsNameDescription
FSectorEntityStreamer*GetActiveOut of line: the renderer's sector proxies read it from another DLL, and an inline read of the static would need the data member imported.
FSectorEntityStreamer&operator=
voidAttachInstalls the StreamingManager callbacks targeting scene.
voidDetach
size_tSpawnedSectorCount
size_tSpawnedRootCountLive entity count across resident sectors (only fragments whose data layer is active are spawned).
boolIsSectorContentLive
voidCollectSectorEntitiesEvery entity a resident sector spawned — its fragment roots and their descendants — appended to out.
voidTickPendingSector fragments instantiate over multiple frames instead of all-at-once in the load callback (the open-world hitch).
size_tPendingCount
voidFlushToJournal
boolIsCollisionProxyLiveCollision proxies: a coarse static collider stands in for every sector whose content is not live, so a long trace still hits what the HLOD proxy draws.
size_tCollisionProxyCount
voidSyncCollisionProxies
FSectorCloudResidency&CloudResidencyThe scanned-cloud half of the same swap: points inside a cell leave with it and come back with it.
const FSectorCloudResidency&CloudResidency

Function details

FSectorEntityStreamer

C++
FSectorEntityStreamer() = default

~FSectorEntityStreamer

C++
~FSectorEntityStreamer()

FSectorEntityStreamer

C++
FSectorEntityStreamer(const FSectorEntityStreamer&) = delete

GetActive

C++
static FSectorEntityStreamer* GetActive()

Out of line: the renderer's sector proxies read it from another DLL, and an inline read of the static would need the data member imported.

operator=

C++
FSectorEntityStreamer& operator=(const FSectorEntityStreamer&) = delete

Attach

C++
void Attach(Scene* scene)

Installs the StreamingManager callbacks targeting scene. Call after StreamingManager::Initialize; replaces any previous hooks.

Detach

C++
void Detach()

SpawnedSectorCount

C++
size_t SpawnedSectorCount() const

SpawnedRootCount

C++
size_t SpawnedRootCount() const

Live entity count across resident sectors (only fragments whose data layer is active are spawned).

IsSectorContentLive

C++
bool IsSectorContentLive(const SectorCoord& coord) const

CollectSectorEntities

C++
void CollectSectorEntities(const SectorCoord& coord, std::vector<EntityID>& out) const

Every entity a resident sector spawned — its fragment roots and their descendants — appended to out. What a sector standing in with its HLOD proxy hides.

TickPending

C++
void TickPending(float budgetMs = 1.0f)

Sector fragments instantiate over multiple frames instead of all-at-once in the load callback (the open-world hitch). Call once per frame; budgetMs bounds main-thread instantiation time.

PendingCount

C++
size_t PendingCount() const

FlushToJournal

C++
void FlushToJournal()

IsCollisionProxyLive

C++
bool IsCollisionProxyLive(const SectorCoord& coord) const

Collision proxies: a coarse static collider stands in for every sector whose content is not live, so a long trace still hits what the HLOD proxy draws. Attach spawns them for every streamed-out sector; TickPending drops one when its fragments finish spawning; unload builds one (if the cook did not) and puts it back.

CollisionProxyCount

C++
size_t CollisionProxyCount() const

SyncCollisionProxies

C++
void SyncCollisionProxies()

CloudResidency

C++
FSectorCloudResidency& CloudResidency()

The scanned-cloud half of the same swap: points inside a cell leave with it and come back with it. FlushToJournal is also the save barrier — the save path calls it before it serializes, which is the moment every parked point has to be back in its accumulator.

CloudResidency

C++
const FSectorCloudResidency& CloudResidency() const
Generated from Streaming/SectorEntityStreamer.h via game.json · Nov 5, 2026Version 1.0.0