CONTENT CONTRACT · VERSION 1
StorybookCameraKey
Where the camera is at a moment of its page: travel in canvas pixels (positive right and down) and zoom over the viewport.
Signature
{ at_permille: Permille, x: number, y: number, zoom_permille: number }Fields
| Name | Type | Meaning |
|---|---|---|
at_permille | Permille | Moment as a share of the page's time (the first page's time includes the lead). Range: 0…1000; Unit: permille |
x | number | Horizontal travel, scaled by each layer's depth and the parallax. Range: -8192…8192; Unit: px |
y | number | Vertical travel, scaled by each layer's depth and the parallax. Range: -8192…8192; Unit: px |
zoom_permille | number | Zoom over the viewport (1000 shows it exactly). Range: 250…4000; Unit: permille |