Function SerializeSmartAssetManagerMap
-
Parameters
- scene: Scene
The scene whose registry to serialize.
OptionalbaseUrl: stringOptional base URL for making asset paths relative.
Returns ISerializedSmartAssetMap
A serialized asset map document.
- scene: Scene
Serializes the registry to a JSON-compatible document. If a baseUrl is provided, asset URLs are stored relative to it for portability.