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

streetStyle

What a street is made of, as data: the surface KIND ids the streetscape writes into uv.x, the physics surface of each kind, how each class of way is laid out between its building lines, what each district's pavements are paved with, the cell size and tolerances. `Style.with(overr…

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

cityGen.streetStyle

What a street is made of, as data: the surface KIND ids the streetscape writes into uv.x, the physics surface of each kind, how each class of way is laid out between its building lines, what each district's pavements are paved with, the cell size and tolerances. Style.with(overrides) lays a world's changes over it. See STREETS.md in the package.

Interface

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

conforms to

zero/source-extract/v2

cityGen.streetStyle: what a street is made of, as data. `KIND` names every surface the streetscape emits. A mesh made by procGen carries one uv and no vertex colour, so the kind rides in the uv: `uv.x = kind + 0.05 + 0.9 * u` (u = 0..1 across the face), `uv.y` = metres along the way (or what the kind's own pattern needs: see `cityGen.shaders.streetPaint`). Vertices are never shared between two kinds, so the integer part is constant over a triangle. `classes` says how each class of way is laid out between its building lines; `districts` what the pavements of a district are paved with. A world restates any of it through `Style.with(overrides)`.

class(name: ?) → void

argtypedescription
name?

district(name: ?) → void

argtypedescription
name?

with(overrides: ?) → void

A copy of the style with a world's own changes laid over it: { classes = { street = { radius = 6 } }, districts = { ["My Quarter"] = { walk = "setts" } }, cell = 192 }.

argtypedescription
overrides?

class(name: ?) → void

argtypedescription
name?

district(name: ?) → void

argtypedescription
name?

Problems

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

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.