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
| Alias | Description |
|---|---|
using CreateFn = std::function<EntityID(const std::string&)> | |
using DestroyFn = std::function<void(EntityID)> |
Public functions
| Returns | Name | Description |
|---|---|---|
void | Bind | |
void | Unbind | |
EntityID | Spawn | |
void | Destroy | |
void | DestroyAll | |
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. |
bool | IsLive | |
EntityID | Find | |
size_t | LiveCount | |
size_t | EnforceBudget | Drops 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) constFind
C++
EntityID Find(const SectorCoord& coord) constLiveCount
C++
size_t LiveCount() constEnforceBudget
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