Function: serializeSceneMobject()
serializeSceneMobject(
mob):SerializedMobject
Defined in: src/serialization/serialize.ts:80
Capture a single mobject (and its submobject tree) as a JSON-safe object.
An unregistered type is captured with unknown: true and empty props, so
the document still records its position in the tree for debugging, while a
restore skips it.