Modified the "check" script in package.json to reference the correct "examples" directory. Updated the README to replace "video editor" with "media compositor" for improved accuracy and restructured some sentences for better readability. Removed outdated documentation files related to assets, CLI, composition, distribution, and getting started, streamlining the documentation for a more focused user experience.
23 lines
796 B
Markdown
23 lines
796 B
Markdown
# `dapi node ls [ids...]`
|
|
|
|
The raw entity records, exactly as persisted: every component the entity carries, keyed by component name. The property-level counterpart to [`node tree`](./tree.md)'s structure. With no ids, returns the root (top-level nodes). Alias: `get`.
|
|
|
|
## Input
|
|
|
|
- `[ids...]`: zero or more entity ids (optional)
|
|
|
|
## Output
|
|
|
|
JSON Lines, one per entity:
|
|
|
|
```ts
|
|
EntityRecord = { id: string; eid: number } & { [component: string]: unknown }
|
|
// e.g. Name, Size, Position, Rotation, Paint, Color, Trim, ChildOf (parent eid), …
|
|
```
|
|
|
|
Records are raw engine data: times are frames at 30 fps, colors are packed `0xRRGGBB` integers, volume is dB.
|
|
|
|
## Errors
|
|
|
|
An unknown id fails the whole command: nothing is printed to stdout and it exits non-zero with `No such entity: <id>` on stderr.
|