SceneDocument

@Serializable
data class SceneDocument(val version: Int, val scenes: List<Scene>)

Represents a document that contains multiple scenes.

This class serves as the root structure for serialization and deserialization. It holds versioning information to support future format changes, along with a collection of scenes defined in the document.

Constructors

Link copied to clipboard
constructor(version: Int, scenes: List<Scene>)

Properties

Link copied to clipboard

A list of scenes included in this document.

Link copied to clipboard

The format version of the scene document. Used for compatibility checks and migration when loading.