@seatlayer/core 0.80.1 → 0.80.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2379,6 +2379,16 @@ declare class PickerController {
|
|
|
2379
2379
|
bottom: number;
|
|
2380
2380
|
left: number;
|
|
2381
2381
|
};
|
|
2382
|
+
/**
|
|
2383
|
+
* The radius of one seat disc in SCREEN pixels at the current zoom.
|
|
2384
|
+
*
|
|
2385
|
+
* A card anchored to a seat has to clear the seat, and the seat is not a
|
|
2386
|
+
* point: at the seats rung a disc can be 30px across before its selected
|
|
2387
|
+
* ring is counted. The renderer scales the theme's seat size by the camera,
|
|
2388
|
+
* so the answer is the same product — `SEAT_RADIUS` × the chart's seatScale
|
|
2389
|
+
* × the camera scale — read off the live pose. 0 before a renderer exists.
|
|
2390
|
+
*/
|
|
2391
|
+
seatScreenRadius(): number;
|
|
2382
2392
|
worldToScreen(p: {
|
|
2383
2393
|
x: number;
|
|
2384
2394
|
y: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -2379,6 +2379,16 @@ declare class PickerController {
|
|
|
2379
2379
|
bottom: number;
|
|
2380
2380
|
left: number;
|
|
2381
2381
|
};
|
|
2382
|
+
/**
|
|
2383
|
+
* The radius of one seat disc in SCREEN pixels at the current zoom.
|
|
2384
|
+
*
|
|
2385
|
+
* A card anchored to a seat has to clear the seat, and the seat is not a
|
|
2386
|
+
* point: at the seats rung a disc can be 30px across before its selected
|
|
2387
|
+
* ring is counted. The renderer scales the theme's seat size by the camera,
|
|
2388
|
+
* so the answer is the same product — `SEAT_RADIUS` × the chart's seatScale
|
|
2389
|
+
* × the camera scale — read off the live pose. 0 before a renderer exists.
|
|
2390
|
+
*/
|
|
2391
|
+
seatScreenRadius(): number;
|
|
2382
2392
|
worldToScreen(p: {
|
|
2383
2393
|
x: number;
|
|
2384
2394
|
y: number;
|