Expand description
Protocol shared by the engine (oxframe-preview), the CLI and editor-ui.
This crate is the single source of truth: TypeScript types for
@oxframe/protocol are generated from it with ts-rs.
Structs§
- Audio
Meta - Where the soundtrack plays.
- Frame
Header - 16-byte little-endian header of a binary WS frame:
- Marker
Info - A marker on the timeline.
- Meta
- Contents of
<scene>.meta.json. - Node
Info - A node in
Event::Tree. - Scene
Info - A scene on the timeline.
- Signal
Value - A property value in
Event::Signals. - Span
- A source location in an error.
Enums§
- Command
- UI → engine.
- Error
Kind - Category of an
Event::Error. - Event
- Engine → UI.
- Frame
Format - Image encoding of a binary preview frame.
- Meta
Error - Why a
meta.jsoncould not be used.
Constants§
- META_
SCHEMA_ VERSION - Current version of the
meta.jsonschema. - PROTOCOL_
VERSION - Incremented on every incompatible change of
Command,Eventor the binary frame header. Every side compares it inHello/Ready.
Functions§
- is_
valid_ name - Names of markers, eases and tunables:
[a-z0-9_-]+.