Module authoring

Source
Expand description

First-party typed scene authoring, hierarchical prefab expansion and compact cooked data. Parsing/validation happens on load, never during scene traversal.

Structs§

Component
ContentError
CookedMetadata
Read-only metadata from a checksum-verified FXSC0001 envelope.
DataNode
Document
FieldRule
A field’s registration rule and read-only introspection view.
Property
SceneData
Owns a scene hierarchy and validated typed data. Handles belong to this generation only; retain the owner while holding handles/components.
SceneDiagnostic
An owned, source-aware view of the first scene error. Existing error kinds, contexts and positions remain available through error. Display includes a caret excerpt and any repair guidance, suitable for an editor or CLI.
Schema
SourceSpan
A source position: one-based line and Unicode scalar column, and a zero-based UTF-8 byte offset. A zero line denotes an error without a text location (for example, a cooked-data or schema-registration error).

Enums§

ErrorKind
Value
ValueKind
A scene value’s type, including its built-in validation constraints.

Constants§

MAX_COMPONENTS
MAX_COOKED_BYTES
MAX_FIELDS
MAX_HIERARCHY_DEPTH
MAX_NODES
MAX_PREFABS
MAX_PREFAB_DEPTH
MAX_SOURCE_BYTES
MAX_STRING
MAX_VALUES