mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
The CLI reference is now 43 pages, one a verb, each with its forms, where it runs and what each of its 164 flags does, under docs/manual/reference/cli. The forms and flags are generated from `raea help --json`; the prose and the flag descriptions are written by hand, kept by the generator, and checked: a new flag without a description fails. The SDK reference is 28 pages, one an import path, under docs/manual/reference/sdk: every export with its doc, its signature, a component's props, a class's members, its Bevy type and the parity ports and examples that use it, generated by the TypeScript compiler, with a hand-written introduction and a type-checked example on each page. Where the SDK mirrors a Bevy type without a comment of its own, Bevy's own doc is shown, marked as Bevy's (tools/manual-ref/bevy-docs.json). Doc comments added to the SDK exports that had none. tools/manual-ref.sh gen|check runs both generators.
1.7 KiB
1.7 KiB
title, summary, order, sources
| title | summary | order | sources | |
|---|---|---|---|---|
| raea scene | Find floating, sunk and clipping 3D parts, say what each part rests on, and meter a shot's light. | 44 |
|
raea scene steps a composition's frames and measures its 3D scene without rendering pictures. lint reports
parts that float, sink into what they stand on, clip into each other or tilt, and exits 1 on an error. explain
says what every part rests on. light meters the light on the shot's subject; given several compositions, it
compares their first and last frames across each cut.
raea scene lint room.tsx
raea scene explain room.tsx --frame 90 --json
raea scene light room.tsx --part hero
raea scene light film.tsx --composition shot1,shot2,shot3 # the light across the cuts
Usage
raea scene lint|explain|light EDIT.tsx [--composition ID] [--frame N] [--part NAME] [--json] (what each 3D part rests on: floating, sunk and clipping parts; light: the scene's lighting)
Headless: it needs nothing running and opens no window. Takes up to 2 arguments besides its flags.
Flags
| Flag | Takes | What it does |
|---|---|---|
--composition |
ID |
Which composition to measure. light takes several, comma-separated, to compare the light across their cuts. |
--frame |
N |
The frame to measure (0 by default; light also takes last). |
--json |
– | Print the findings as JSON: each part's support, gap and position. |
--part |
NAME |
With light: the part to meter, in place of the shot's subject. |
See also
- 3D covers building and checking a scene.