setPieces
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
setPieces
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->TODO: describe this module.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2FURROW — the set. Every durable thing standing on the salt pan, and every piece of the pan's own destruction, is built here: the gypsum crust the two macro shots read at four centimetres, the stranded crawler-rig, the eighteen-mast survey line, the rib field, the iron-red spires out on the dune flanks — and the sink bowl, the shaft, the breach hole, the crater and the new ridge that have to exist by the last shot. This module BUILDS and hands back handles. It holds no clock and poses nothing; `Set.component` owns the posing and reads `filmClock.now()`. Everything is made from the engine's primitive meshes wearing the set's own triplanar materials, so a piece can be any size without a UV in sight: the same crust material reads at a 4 cm plate and at a 9 m slab. Owner: the TERRAIN & SET slice.
rng(seed: number) → void
Determinism. The film must be identical run to run, so the layout comes from a stated seed rather than from the shared `math.random` stream. A seeded stream of numbers in [0,1). Same seed, same set, every run.
| arg | type | description |
|---|---|---|
| seed | number |
span(r: (() → void
| arg | type | description |
|---|---|---|
| r | (( |
pivot(parent: ?, name: string, p: { number }) → void
An empty pivot — a thing to rotate a whole assembly around.
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | string | |
| p | { number } |
groundY(x: number, z: number) → number
Height of the baked landscape under a point, read off its collider. The pan is flat at panY, so this only matters out on the dune flanks; a miss falls back to the pan so a piece is never lost at the bottom of the world.
| arg | type | description |
|---|---|---|
| x | number | |
| z | number |
crustField(parent: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? |
addPlate(x: number, z: number, plate: number, coarse: boolean) → void
| arg | type | description |
|---|---|---|
| x | number | |
| z | number | |
| plate | number | |
| coarse | boolean |
panSheet(parent: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? |
nearHole(x: number, z: number) → void
| arg | type | description |
|---|---|---|
| x | number | |
| z | number |
tile(x: number, z: number, size: number) → void
| arg | type | description |
|---|---|---|
| x | number | |
| z | number | |
| size | number |
panSkin(parent: ?, count: number) → void
2 · THE PAN'S SKIN — a sparse scatter of big crust slabs over the open flat, so every mid-range shot standing on the pan reads polygon, not a clean plane.
| arg | type | description |
|---|---|---|
| parent | ? | |
| count | number |
noShadow(ent: ?) → void
A slab lying flat on the pan is eight centimetres proud of it. The shadow it should cast is smaller than a shadow-map texel at this range, and what actually reaches the frame is a metres-long black streak along the light. They stop casting; the plates of the macro field, which are read from four centimetres and whose shadows ARE the relief, do not.
| arg | type | description |
|---|---|---|
| ent | ? |
rig(parent: ?) → void
3 · THE STRANDED CRAWLER-RIG A survey crawler that stopped here and was never collected: hull on two track pods, a leaning lattice derrick with a drooping boom, a cab, an instrument mast carrying the pennant of shot 8, and one hull panel down to a single fastener that bangs in the wind through shot 4.
| arg | type | description |
|---|---|---|
| parent | ? |
mastLine(parent: ?) → void
4 · THE SURVEY MAST LINE — eighteen of them, stacked by a 9-degree lens in shot 3 and dropped one after another in shot 11.
| arg | type | description |
|---|---|---|
| parent | ? |
ribField(parent: ?) → void
5 · THE RIB FIELD — a big animal that did not get out either, bleached and half-swallowed by the crust. Shot 5 stands eighteen metres off it.
| arg | type | description |
|---|---|---|
| parent | ? |
spineAt(x: number) → void
Where the spine runs, in the skeleton's own frame.
| arg | type | description |
|---|---|---|
| x | number |
spires(parent: ?, spireCount: number, boulderCount: number) → void
6 · THE DUNE FLANKS — iron-red rock the sand breaks over, and the boulder fall around the pan's rim.
| arg | type | description |
|---|---|---|
| parent | ? | |
| spireCount | number | |
| boulderCount | number |
sink(parent: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? |
breachGround(parent: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? |
crater(parent: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? |
berm(parent: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ 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".
Scoped to this part · feeds back into the world's score.