class

FSectorCollisionProxySpawner

Owns the proxy entities of one world. Bound to a World (raw entities) or through Scene hooks so the proxies carry scene metadata; either way a proxy is a Transform + a static Mesh collider and nothing else.

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

Type aliases

AliasDescription
using CreateFn = std::function<EntityID(const std::string&)>
using DestroyFn = std::function<void(EntityID)>

Public functions

ReturnsNameDescription
voidBind
voidUnbind
EntityIDSpawn
voidDestroy
voidDestroyAll
voidForgetAllDrops the bookkeeping without touching the entities — for a detach whose scene may already be gone (the streamer's destructor), where the scene's own teardown takes the proxies with everything else.
boolIsLive
EntityIDFind
size_tLiveCount
size_tEnforceBudgetDrops the oldest proxies until at most maxResident remain.

Function details

Bind

C++
void Bind(World* world, CreateFn create = nullptr, DestroyFn destroy = nullptr)

Unbind

C++
void Unbind()

Spawn

C++
EntityID Spawn(const SectorCoord& coord, const FSectorCollisionProxyData& data)

Destroy

C++
void Destroy(const SectorCoord& coord)

DestroyAll

C++
void DestroyAll()

ForgetAll

C++
void ForgetAll()

Drops the bookkeeping without touching the entities — for a detach whose scene may already be gone (the streamer's destructor), where the scene's own teardown takes the proxies with everything else.

IsLive

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

Find

C++
EntityID Find(const SectorCoord& coord) const

LiveCount

C++
size_t LiveCount() const

EnforceBudget

C++
size_t EnforceBudget(size_t maxResident)

Drops the oldest proxies until at most maxResident remain. Returns how many went.

Generated from Streaming/SectorCollisionProxy.h via game.json · Nov 5, 2026Version 1.0.0