CameraView ​

Contract 2.0.0 · package sha256 a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e · generated from configurator-runtime.d.ts by services/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.

Interface · import type { CameraView } from '@holostep-configurators/runtime-client/contract'; · stable · since 2.0.0 · section 10. Camera

Orbit view. Azimuth 0 looks from +Z towards −Z; it grows counter-clockwise seen from above. As input every number is finite (spec section 3.4). A view move turns from the drawn azimuth by the difference wrapped into [−180, 180): never more than half a turn, and exactly half a turn clockwise seen from above, unless the azimuth limits close that way (CameraLimits.minAzimuthDeg; spec section 5.6).

Members ​

Member Kind Summary
azimuthDeg property Degrees around +Y; 0 looks from +Z towards −Z.
polarDeg property Degrees in [0, 180]; 0 = from above.
distance property Metres from target to the camera.
target property The world point the camera orbits and looks at, metres.
focalOffset? property Metres the view is shifted from the target.

Declaration ​

ts
export interface CameraView {
  azimuthDeg: number;
  polarDeg: number;
  distance: number;
  target: Point3;
  focalOffset?: Point3;
}

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: CameraView names no product
2. A precedent not recorded: no ledger row (coverage.json) names this member or its owner
3. Two apps, or labs pass: 28 apps (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 not recorded per member (Appendix B decides it per need)