Writes document into transform, restoring absent fields to their §7
defaults.
Values are restored exactly as stored — no renormalization of the quaternion,
no recomposition of a user-owned matrix — so a round trip is bit-for-bit.
Exported because a InstantiateSceneOptions.nodeFactory that builds a
node from more than the base document may want to apply the transform itself.
Writes
documentintotransform, restoring absent fields to their §7 defaults.Values are restored exactly as stored — no renormalization of the quaternion, no recomposition of a user-owned matrix — so a round trip is bit-for-bit. Exported because a InstantiateSceneOptions.nodeFactory that builds a node from more than the base document may want to apply the transform itself.