Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

docs/manual/reference/sdk: raea.md and time.md regenerated for #126 (a Sequence's length in useVideoConfig); main's L1 failed on them for every lane

shinyobjectze24034ee1056
diff --git a/docs/manual/reference/sdk/raea.md b/docs/manual/reference/sdk/raea.md
index 5a194ed2..52d017b5 100644
--- a/docs/manual/reference/sdk/raea.md
+++ b/docs/manual/reference/sdk/raea.md
@@ -323,7 +323,7 @@ function useSong(map: SongMap, options?: UseSongOptions): SongMoment & { song: S
### `useVideoConfig`
-The settings of the composition being rendered (a Sequence's width and height win inside it).
+The settings of the composition being rendered (inside a Sequence, its width, height and length win).
```ts
function useVideoConfig(): VideoConfig
diff --git a/docs/manual/reference/sdk/time.md b/docs/manual/reference/sdk/time.md
index 4a8d79f5..ac16c0dd 100644
--- a/docs/manual/reference/sdk/time.md
+++ b/docs/manual/reference/sdk/time.md
@@ -72,7 +72,7 @@ function useLocalTime(caller: string): LocalTime
### `useVideoConfig`
-The settings of the composition being rendered (a Sequence's width and height win inside it).
+The settings of the composition being rendered (inside a Sequence, its width, height and length win).
```ts
function useVideoConfig(): VideoConfig
@@ -115,6 +115,7 @@ The local time a subtree sees: its own frame, and the composition frame its fram
| `origin` (required) | `number` | the composition frame the subtree's frame 0 falls on |
| `width` (required) | `number` | width and height a Sequence overrides for its children |
| `height` (required) | `number` | in px, what the Sequence gives its children |
+| `duration` (required) | `number` | frames the subtree runs for from its frame 0, which useVideoConfig reports as durationInFrames: a Sequence's own length cut where its parent's ends, a Loop's one pass, the composition's at the root |
### `Perception`