class
FSectorCollisionProxyBuilder
- Module
- Game
- Header
#include "Streaming/SectorCollisionProxy.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Enabled | wp.CollisionProxy / wp.CollisionProxy.MaxTriangles / wp.CollisionProxy.MaxResident. |
uint32_t | TriangleBudget | |
uint32_t | ResidentBudget | |
bool | Build | Merge + simplify under triangleBudget. |
bool | CollectFromScene | Live colliders under roots: static bodies only (a dynamic prop is gone with its sector either way), triggers excluded. |
bool | CollectFromFragments | Cooked fragments: primitive colliders only, since a mesh collider's geometry is runtime data the MDF never carries. |
bool | CollectFromFragmentTrees |
Function details
Enabled
C++
static bool Enabled()wp.CollisionProxy / wp.CollisionProxy.MaxTriangles / wp.CollisionProxy.MaxResident.
TriangleBudget
C++
static uint32_t TriangleBudget()ResidentBudget
C++
static uint32_t ResidentBudget()Build
C++
static bool Build(const std::vector<FSectorCollisionSource>& sources, uint32_t triangleBudget, FSectorCollisionProxyData& out, uint32_t* outSourceTriangles = nullptr)Merge + simplify under triangleBudget. When the simplifier cannot get there, every source collapses to its world AABB, and if even that is over, the whole sector becomes one box — a long shot must hit SOMETHING where the ground was.
CollectFromScene
C++
static bool CollectFromScene(Scene& scene, const std::vector<EntityID>& roots, std::vector<FSectorCollisionSource>& out)Live colliders under roots: static bodies only (a dynamic prop is gone with its sector either way), triggers excluded.
CollectFromFragments
C++
static bool CollectFromFragments(const std::vector<std::string>& fragmentMdf, std::vector<FSectorCollisionSource>& out)Cooked fragments: primitive colliders only, since a mesh collider's geometry is runtime data the MDF never carries.
CollectFromFragmentTrees
C++
static bool CollectFromFragmentTrees(const std::vector<const MDF::MdfNode*>& trees, std::vector<FSectorCollisionSource>& out)Generated from Streaming/SectorCollisionProxy.h via game.json · Nov 5, 2026Version 1.0.0