API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceSerializerBinding
Binds a SceneNode type to a NodeSerializer under a stable type name, so an extension's own node types participate in Scene.serialize/Scene.deserialize. Pure descriptor - the serializer is a stateless write/read pair, materialised into the scene serialization registry once at Application construction. `target` is the constructor serialize resolves via prototype walk; `typeName` is the tag written to JSON and the key deserialize resolves by. Mirrors the shape of RendererBinding.
import { SerializerBinding } from '@codexo/exojs/extensions'Binds a SceneNode type to a NodeSerializer under a stable type name, so an extension's own node types participate in Scene.serialize/Scene.deserialize. Pure descriptor - the serializer is a stateless write/read pair, materialised into the scene serialization registry once at Application construction.
`target` is the constructor serialize resolves via prototype walk; `typeName` is the tag written to JSON and the key deserialize resolves by. Mirrors the shape of RendererBinding.
typeName: string