API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceSerializedPrefab
@codexo/exojs / core / stable
Top-level serialized form of a Prefab produced by Prefab.toJSON and consumed by Prefab.fromJSON. Carries the same `version` field as SerializedScene and for the same reason: a prefab is documented as persistable to disk or over the network, so a document has to outlive the code that wrote it.
2
props
0
methods
0
events
Import
import { SerializedPrefab } from '@codexo/exojs'Top-level serialized form of a Prefab produced by Prefab.toJSON and consumed by Prefab.fromJSON.
Carries the same `version` field as SerializedScene and for the same reason: a prefab is documented as persistable to disk or over the network, so a document has to outlive the code that wrote it.
Properties2
The captured subtree root.
version: numberFormat version this document was written with (SERIALIZATION_VERSION).
Source