Weatherworks
A component script.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2Weatherworks brain: the single synced weather-state owner for the island. Holds every effect toggle/intensity, global time-of-day and wind, and the accumulators (snow depth, puddle level, surface wetness). Routes that state each frame into the scene — ProceduralSky, sun/ambient lights, ground materials, the ww_atmos post pass — and owns the player-facing UI: HUD, weather console (C), menus, and the R snow-depth reset. Effect components (WwRain, WwSnow, ...) read this component's fields to drive their own emitters and audio.
viewpoint( ) → void
zoneWeights(x: ?, z: ?) → void
weights: hub core fades to zone ring by radius; angular blend between zones
| arg | type | description |
|---|---|---|
| x | ? | |
| z | ? |
hudTree( ) → void
UI trees
chk(on: ?, amt: ?, label: ?) → void
| arg | type | description |
|---|---|---|
| on | ? | |
| amt | ? | |
| label | ? |
sliderRow(label: ?, id: ?, value: ?, lo: ?, hi: ?) → void
| arg | type | description |
|---|---|---|
| label | ? | |
| id | ? | |
| value | ? | |
| lo | ? | |
| hi | ? |
toggleRow(label: ?, id: ?, on: ?) → void
| arg | type | description |
|---|---|---|
| label | ? | |
| id | ? | |
| on | ? |
header(text: ?) → void
| arg | type | description |
|---|---|---|
| text | ? |
consoleTree( ) → void
menuTree( ) → void
refreshMenu( ) → void
refreshConsole( ) → void
routeSky( ) → void
routing: state -> scene
routeSun( ) → void
matKey(matName: ?) → void
| arg | type | description |
|---|---|---|
| matName | ? |
allMatDefs( ) → void
rebindProps(rootId: ?, handles: ?) → void
| arg | type | description |
|---|---|---|
| rootId | ? | |
| handles | ? |
ensureRuntimeMats( ) → void
sameVal(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
setMat(matName: ?, prop: ?, value: ?) → void
| arg | type | description |
|---|---|---|
| matName | ? | |
| prop | ? | |
| value | ? |
routeMaterials( ) → void
routePost( ) → void
updateEnvelopes( ) → void
awake( ) → void
lifecycle Atmosphere post pass omitted: not included in installed rain dependency closure.
markPersist( ) → void
loadPersisted( ) → void
savePersisted( ) → void
integrate(dt: ?) → void
| arg | type | description |
|---|---|---|
| dt | ? |
handleKeys( ) → void
update(dt: ?) → void
| arg | type | description |
|---|---|---|
| dt | ? |
onCallback(id: ?, data: ?) → void
| arg | type | description |
|---|---|---|
| id | ? | |
| data | ? |
Demo brain: weather console UI, zone orchestration, HUD, settings and audio routing for the Weatherworks tech demo.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.
Inside
3 problems across 1 itemagent_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.