Documentation
    Preparing search index...

    Interface SceneNodeTypeSupport

    A nodeTypeOf / nodeDataOf writer paired with the nodeFactory that reads it back (§79).

    The two halves are returned together because they are one decision: a type name written by a build whose reader does not know it is a load failure, and splitting them across two call sites is how that happens.

    interface SceneNodeTypeSupport {
        read: Required<Pick<InstantiateSceneOptions, "nodeFactory">>;
        write: Required<Pick<SerializeSceneOptions, "nodeTypeOf" | "nodeDataOf">>;
    }

    Hierarchy (View Summary)

    Index
    read: Required<Pick<InstantiateSceneOptions, "nodeFactory">>

    Pass to instantiateScene / instantiateSceneNodes as their options.

    write: Required<Pick<SerializeSceneOptions, "nodeTypeOf" | "nodeDataOf">>

    Pass to serializeScene as its options.