CameraLimits.target ​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 CameraLimits · stable · since 2.0.0
target?: {
min: Point3;
max: Point3;
} | null;
The orbit target stays inside this box. A pan stops at its faces. A view write (set, fit,
views.go) whose target lies outside lands on the nearest point inside, with the camera moved
along so the viewing angle holds (durationMs: 0 lands exactly there). Setting the box moves a
target outside it the same way.
Default: unchanged
| Rule | Result |
|---|---|
| 1. Neutral name | pass: target names no product |
| 2. A precedent | pass: Babylon.js ArcRotateCamera lowerAlphaLimit, upperAlphaLimit, panning (row G7) |
| 3. Two apps, or labs | pass: 26 apps (ledger: app-4f16d2f6da, app-b362a81c85, app-f9a32142f1, app-fc07850558, app-fc306ec3dc, app-fd09090420; fleet cross-check: app-04c2774145, app-37356bf09f, app-378d190f1b, app-4762caacdc, app-4f16d2f6da, app-4fd23bc869, app-510d750508, app-59c5b5751e and 18 more) |
| 4. The cheaper fix first | decided per need in Appendix B: rows G7 at tier stable (a member only where no rule, data, asset or app code serves the need) |