restoreNodeId is not needed by any of the widgets: each takes its id through
UIWidgetOptions (which extends NodeOptions), so a restored widget is
constructed with the id it was saved under (A-17). The drawing-tier classes do
not take an id — a Renderable is constructed from its geometry and
material — so those restore through the restoreNodeId path
instantiateScene already applies to any factory-built node whose id differs
from the document's.
Everything a §79 round trip of an engine-authored scene needs: the component serializers, the node-type writer, and the node factory (A-14, PH-17).
The one call an application makes: the §73 widgets (registerUISerializers) and the drawing tier (registerRenderSerializers), chained by composeSceneNodeTypes. Chaining an application's own classes on top is the same call:
restoreNodeIdis not needed by any of the widgets: each takes its id through UIWidgetOptions (which extendsNodeOptions), so a restored widget is constructed with the id it was saved under (A-17). The drawing-tier classes do not take an id — aRenderableis constructed from its geometry and material — so those restore through therestoreNodeIdpathinstantiateScenealready applies to any factory-built node whose id differs from the document's.