class

FSectorProxyBuilder

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

Public functions

ReturnsNameDescription
boolBuildFromInstancesatlasSize < 0 takes wp.HLOD.AtlasSize; 0 bakes no atlas.
uint32_tAtlasSizeThe texel edge of the baked atlas (a power of two, 0 = off).
boolBakeAtlasUnwraps proxy, splitting vertices at chart seams, and bakes its atlas pair from the source instances by closest-point transfer.
boolCollectFromScene
boolCollectFromFragments
boolCollectFromFragmentTreesThe same over already-parsed EntityTree nodes (a cooked manifest).

Function details

BuildFromInstances

C++
static bool BuildFromInstances(const std::vector<FSectorProxyInstance>& instances, float targetRatio, FSectorProxyData& out, uint32_t* outSourceTriangles = nullptr, int32_t atlasSize = -1)

atlasSize < 0 takes wp.HLOD.AtlasSize; 0 bakes no atlas.

AtlasSize

C++
static uint32_t AtlasSize()

The texel edge of the baked atlas (a power of two, 0 = off).

BakeAtlas

C++
static bool BakeAtlas(const std::vector<FSectorProxyInstance>& instances, uint32_t atlasSize, FSectorProxyData& proxy)

Unwraps proxy, splitting vertices at chart seams, and bakes its atlas pair from the source instances by closest-point transfer. False (proxy untouched) when the unwrap or bake has nothing to work with.

CollectFromScene

C++
static bool CollectFromScene(Scene& scene, const std::vector<EntityID>& roots, std::vector<FSectorProxyInstance>& out)

CollectFromFragments

C++
static bool CollectFromFragments(const std::vector<std::string>& fragmentMdf, std::vector<FSectorProxyInstance>& out)

CollectFromFragmentTrees

C++
static bool CollectFromFragmentTrees(const std::vector<const MDF::MdfNode*>& trees, std::vector<FSectorProxyInstance>& out)

The same over already-parsed EntityTree nodes (a cooked manifest).

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