跳转到内容

migrateSceneData

此内容尚不支持你的语言。

migrateSceneData(raw): SceneMigrationResult

Defined in: scene.ts:321

Upgrade a SceneData to the current format. Total + idempotent: already-current data returns migrated: false; migrations are shape-driven so they no-op on current scenes. Rejects data newer than this engine. Returns a deep copy, so loading never mutates the caller’s object (snapshots can be reloaded).

SceneData

SceneMigrationResult