ViewerDocumentJson.camera ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromconfigurator-runtime.d.tsbyservices/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.
Property of ViewerDocumentJson · stable · since 2.0.0 · called as session.document.camera
camera?: {
limits?: CameraLimits;
lens?: CameraLens;
views?: Readonly<Record<string, CameraView | LookAtView>>;
};
The page's camera defaults: its limits, its lens and its named views. Each merges over the platform's and the account's, and camera.limits, camera.lens and camera.views.go read them.
Default: the platform and account defaults
limits ​limits?: CameraLimits;
The document's limits; camera.limits merges over them.
Default: the lower layers'
lens ​lens?: CameraLens;
The document's lens; camera.lens(null) restores it.
Default: the lower layers'
views ​views?: Readonly<Record<string, CameraView | LookAtView>>;
Named views for camera.views.go(name): an orbit view or, as 1.x camera presets store them, a look-at view.
Default: the lower layers'
| Rule | Result |
|---|---|
| 1. Neutral name | pass: camera names no product |
| 2. A precedent | pass (through its owner ViewerDocumentJson): a correctness rule (rows G48) |
| 3. Two apps, or labs | pass: 28 apps (ledger: app-04c2774145, app-0c773a4ee3, app-37356bf09f, app-378d190f1b, app-4762caacdc, app-4f16d2f6da, app-4fd23bc869, app-510d750508 and 20 more; fleet cross-check: app-04c2774145, app-0c773a4ee3, app-37356bf09f, app-378d190f1b, app-4762caacdc, app-4f16d2f6da, app-4fd23bc869, app-510d750508 and 20 more) |
| 4. The cheaper fix first | decided per need in Appendix B: rows G48 (through its owner ViewerDocumentJson) at tier fix, stable (a member only where no rule, data, asset or app code serves the need) |