Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage cityGen.package·originates fromworld 0a0b119f-a…

buildingStand

The `cityGen.buildingStand` module manages the runtime instantiation and streaming of buildings in a game world. It takes a list of lots and kits, plans buildings on demand (using `cityGen.building.plan`), and draws them using `cityGen.buildingDraw`. To optimize performance, buil…

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

buildingStand

The cityGen.buildingStand module manages the runtime instantiation and streaming of buildings in a game world. It takes a list of lots and kits, plans buildings on demand (using cityGen.building.plan), and draws them using cityGen.buildingDraw. To optimize performance, buildings are streamed in tiers based on viewer distance: full detail for near buildings, a simplified shell for mid-range, and nothing for far-off structures. It also generates static colliders and occluders for buildings. This module is called by game systems that need to display and manage a city's buildings dynamically.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

native

CompoundCollider

inside(poly: ?, x: ?, z: ?) → void

argtypedescription
poly?
x?
z?

centre(poly: ?) → void

argtypedescription
poly?

neighbours(lots: ?, kits: ?) → void

Who stands next to whom. Fills `lot.edges[i].top` (the neighbour's eave altitude) on party edges and returns `near[i] = { index of each lot touching lot i }`.

argtypedescription
lots?
kits?

drop(name: ?, slow: ?) → void

argtypedescription
name?
slow?

standing( ) → void

noPanes(keyName: ?) → void

argtypedescription
keyName?

build(lots: ?, kits: ?, opts: ?) → void

argtypedescription
lots?
kits?
opts?

material(spec: ?) → void

argtypedescription
spec?

setTier(c: ?, tier: ?, yielding: ?) → void

argtypedescription
c?
tier?
yielding?

distance(c: ?, viewers: ?) → void

argtypedescription
c?
viewers?

wanted(c: ?, d: ?) → void

argtypedescription
c?
d?

update(viewers: ?) → void

The viewers now. Starts at most one cell change (the most urgent one), on its own task.

argtypedescription
viewers?

settled( ) → void

drawStats( ) → void

at(x: ?, z: ?) → void

argtypedescription
x?
z?

destroy(slow: ?) → void

Takes everything down. `slow = true` yields a frame between cells (a tool or a script: taking a few thousand draws down in one go holds the frame loop for seconds; a part's destroy() cannot yield and passes nothing).

argtypedescription
slow?

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.