API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceSerializedNode

@codexo/exojs / core / stable

Plain-old-JSON description of a single scene-graph node. Always carries a `type` tag (the registered type name) plus an open set of common transform/visual fields and type-specific fields. Every field is JSON-serialisable; runtime-only state (caches, dirty flags, matrices, signals, GPU resources) is never present. Common fields are written by the framework and omitted when they hold their default value, so a freshly-constructed node serialises to `{ type }` alone.

2
props
0
methods
0
events
Import
import { SerializedNode } from '@codexo/exojs'

Plain-old-JSON description of a single scene-graph node.

Always carries a `type` tag (the registered type name) plus an open set of common transform/visual fields and type-specific fields. Every field is JSON-serialisable; runtime-only state (caches, dirty flags, matrices, signals, GPU resources) is never present.

Common fields are written by the framework and omitted when they hold their default value, so a freshly-constructed node serialises to `{ type }` alone.

Properties2
name?: string
Optional node identity (SceneNode.name); omitted when null.
type: string
Registered type name, e.g. "Container", "Sprite", "Text".
Source