@evercam/ui 2.0.0-preview-360-viewer-performance-961c4aa21 → 2.0.0-preview-360-viewer-performance-005c08e40
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/components/threeJs/EPanoEcho.vue.d.ts +116 -0
- package/dist/components/threeJs/EPanoViewer.vue.d.ts +269 -47
- package/dist/index.mjs +3362 -3233
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +23 -23
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { E3DInitPayload, EVector3 } from '../../types';
|
|
3
|
+
import * as THREE from "three";
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
position: {
|
|
6
|
+
type: PropType<EVector3 | null>;
|
|
7
|
+
default: null;
|
|
8
|
+
};
|
|
9
|
+
color: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
opacity: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
}>, {}, {
|
|
22
|
+
internalId: string;
|
|
23
|
+
scene: THREE.Scene | null;
|
|
24
|
+
group: THREE.Group | null;
|
|
25
|
+
dot: THREE.Mesh<THREE.BufferGeometry, THREE.Material | THREE.Material[]> | null;
|
|
26
|
+
rings: THREE.Mesh<THREE.BufferGeometry, THREE.Material | THREE.Material[]>[];
|
|
27
|
+
elapsed: number;
|
|
28
|
+
arrivedAt: number;
|
|
29
|
+
}, {}, {
|
|
30
|
+
onInit(payload: E3DInitPayload): void;
|
|
31
|
+
onDispose(): void;
|
|
32
|
+
rebuild(): void;
|
|
33
|
+
applyPosition(): void;
|
|
34
|
+
applyColor(): void;
|
|
35
|
+
onFrame({ delta }: {
|
|
36
|
+
delta: number;
|
|
37
|
+
}): void;
|
|
38
|
+
disposeMeshes(): void;
|
|
39
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
position: {
|
|
41
|
+
type: PropType<EVector3 | null>;
|
|
42
|
+
default: null;
|
|
43
|
+
};
|
|
44
|
+
color: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
size: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
opacity: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
}>> & Readonly<{}>, {
|
|
57
|
+
color: string;
|
|
58
|
+
size: number;
|
|
59
|
+
opacity: number;
|
|
60
|
+
position: EVector3 | null;
|
|
61
|
+
}, {}, {
|
|
62
|
+
E3DObject: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
63
|
+
id: {
|
|
64
|
+
type: PropType<string>;
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
clickable: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
hoverable: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
object3d: {
|
|
76
|
+
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
77
|
+
default: null;
|
|
78
|
+
};
|
|
79
|
+
}>, {}, {
|
|
80
|
+
initialized: boolean;
|
|
81
|
+
internalId: string;
|
|
82
|
+
hasFrameCallback: boolean;
|
|
83
|
+
hasResizeCallback: boolean;
|
|
84
|
+
}, {
|
|
85
|
+
context(): import('../../types').E3DCanvas3DExtended | null;
|
|
86
|
+
effectiveId(): string;
|
|
87
|
+
}, {
|
|
88
|
+
initialize(): void;
|
|
89
|
+
onFrame(payload: import('../../types').E3DFramePayload): void;
|
|
90
|
+
onResize(payload: import('../../types').E3DResizePayload): void;
|
|
91
|
+
cleanup(): void;
|
|
92
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
93
|
+
id: {
|
|
94
|
+
type: PropType<string>;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
clickable: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
hoverable: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
object3d: {
|
|
106
|
+
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
107
|
+
default: null;
|
|
108
|
+
};
|
|
109
|
+
}>> & Readonly<{}>, {
|
|
110
|
+
id: string;
|
|
111
|
+
clickable: boolean;
|
|
112
|
+
hoverable: boolean;
|
|
113
|
+
object3d: THREE.Object3D<THREE.Event> | null;
|
|
114
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
115
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
116
|
+
export default _default;
|
|
@@ -362,6 +362,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
362
362
|
y: number;
|
|
363
363
|
z: number;
|
|
364
364
|
} | undefined;
|
|
365
|
+
echoPosition(): EVector3 | null;
|
|
365
366
|
computedMarkers(): PanoNavMarker[];
|
|
366
367
|
fadeFactors(): number[];
|
|
367
368
|
fadeFactorById(): Record<string, number>;
|
|
@@ -794,9 +795,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
794
795
|
default: boolean;
|
|
795
796
|
};
|
|
796
797
|
animationDuration: {
|
|
797
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
798
|
-
* ID of the marker to display initially. Falls back to the first marker if not provided.
|
|
799
|
-
*/
|
|
798
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
800
799
|
default: number;
|
|
801
800
|
};
|
|
802
801
|
size: {
|
|
@@ -832,9 +831,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
832
831
|
default: boolean;
|
|
833
832
|
};
|
|
834
833
|
animationDuration: {
|
|
835
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
836
|
-
* ID of the marker to display initially. Falls back to the first marker if not provided.
|
|
837
|
-
*/
|
|
834
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
838
835
|
default: number;
|
|
839
836
|
};
|
|
840
837
|
size: {
|
|
@@ -1254,7 +1251,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1254
1251
|
id: {
|
|
1255
1252
|
type: PropType<string>;
|
|
1256
1253
|
default: undefined;
|
|
1257
|
-
};
|
|
1254
|
+
}; /**
|
|
1255
|
+
* Position of the performance metrics panel.
|
|
1256
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
1257
|
+
*/
|
|
1258
1258
|
clickable: {
|
|
1259
1259
|
type: BooleanConstructor;
|
|
1260
1260
|
default: boolean;
|
|
@@ -1266,7 +1266,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1266
1266
|
object3d: {
|
|
1267
1267
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1268
1268
|
default: null;
|
|
1269
|
-
};
|
|
1269
|
+
}; /**
|
|
1270
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
1271
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
1272
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
1273
|
+
* intersections so click release stays cheap.
|
|
1274
|
+
*/
|
|
1270
1275
|
}>, {}, {
|
|
1271
1276
|
initialized: boolean;
|
|
1272
1277
|
internalId: string;
|
|
@@ -1284,7 +1289,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1284
1289
|
id: {
|
|
1285
1290
|
type: PropType<string>;
|
|
1286
1291
|
default: undefined;
|
|
1287
|
-
};
|
|
1292
|
+
}; /**
|
|
1293
|
+
* Position of the performance metrics panel.
|
|
1294
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
1295
|
+
*/
|
|
1288
1296
|
clickable: {
|
|
1289
1297
|
type: BooleanConstructor;
|
|
1290
1298
|
default: boolean;
|
|
@@ -1296,7 +1304,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1296
1304
|
object3d: {
|
|
1297
1305
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1298
1306
|
default: null;
|
|
1299
|
-
};
|
|
1307
|
+
}; /**
|
|
1308
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
1309
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
1310
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
1311
|
+
* intersections so click release stays cheap.
|
|
1312
|
+
*/
|
|
1300
1313
|
}>> & Readonly<{}>, {
|
|
1301
1314
|
id: string;
|
|
1302
1315
|
clickable: boolean;
|
|
@@ -1324,7 +1337,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1324
1337
|
showDrawCalls: {
|
|
1325
1338
|
type: BooleanConstructor;
|
|
1326
1339
|
default: boolean;
|
|
1327
|
-
};
|
|
1340
|
+
}; /**
|
|
1341
|
+
* Show the FPS/performance metrics overlay panel.
|
|
1342
|
+
*/
|
|
1328
1343
|
updateInterval: {
|
|
1329
1344
|
type: NumberConstructor;
|
|
1330
1345
|
default: number;
|
|
@@ -1334,7 +1349,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1334
1349
|
default: () => {};
|
|
1335
1350
|
};
|
|
1336
1351
|
}>, {}, {
|
|
1337
|
-
stats: Stats | null;
|
|
1352
|
+
stats: Stats | null; /**
|
|
1353
|
+
* Optional render-loop FPS cap forwarded to the underlying canvas.
|
|
1354
|
+
* Use `Infinity` (default) or `0` to disable capping.
|
|
1355
|
+
*/
|
|
1338
1356
|
memoryInfo: {
|
|
1339
1357
|
geometries: number;
|
|
1340
1358
|
textures: number;
|
|
@@ -1376,7 +1394,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1376
1394
|
showDrawCalls: {
|
|
1377
1395
|
type: BooleanConstructor;
|
|
1378
1396
|
default: boolean;
|
|
1379
|
-
};
|
|
1397
|
+
}; /**
|
|
1398
|
+
* Show the FPS/performance metrics overlay panel.
|
|
1399
|
+
*/
|
|
1380
1400
|
updateInterval: {
|
|
1381
1401
|
type: NumberConstructor;
|
|
1382
1402
|
default: number;
|
|
@@ -1418,7 +1438,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1418
1438
|
};
|
|
1419
1439
|
highlightColor: {
|
|
1420
1440
|
type: StringConstructor;
|
|
1421
|
-
default: string;
|
|
1441
|
+
default: string; /**
|
|
1442
|
+
* Controls how markers and path segments fade based on proximity to the current marker.
|
|
1443
|
+
* @values none, distance, index
|
|
1444
|
+
*/
|
|
1422
1445
|
};
|
|
1423
1446
|
highlightId: {
|
|
1424
1447
|
type: StringConstructor;
|
|
@@ -1437,7 +1460,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1437
1460
|
default: number;
|
|
1438
1461
|
};
|
|
1439
1462
|
opacities: {
|
|
1440
|
-
type: PropType<number[] | null>;
|
|
1463
|
+
type: PropType<number[] | null>; /**
|
|
1464
|
+
* Maximum 3D distance (world units) at which markers fully fade. Only used when `pathFadeMode` is `'distance'`.
|
|
1465
|
+
* Markers closer than this distance interpolate between full opacity and `pathFadeMinOpacity`.
|
|
1466
|
+
*/
|
|
1441
1467
|
default: null;
|
|
1442
1468
|
};
|
|
1443
1469
|
hoveredMarkerId: {
|
|
@@ -1451,7 +1477,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1451
1477
|
}>, {}, {
|
|
1452
1478
|
internalId: string;
|
|
1453
1479
|
scene: THREE.Scene | null;
|
|
1454
|
-
instancedMesh: THREE.InstancedMesh<THREE.BufferGeometry, THREE.Material | THREE.Material[]> | null;
|
|
1480
|
+
instancedMesh: THREE.InstancedMesh<THREE.BufferGeometry, THREE.Material | THREE.Material[]> | null; /**
|
|
1481
|
+
* Maximum number of index steps from the current marker at which markers fully fade.
|
|
1482
|
+
* Only used when `pathFadeMode` is `'index'`.
|
|
1483
|
+
*/
|
|
1455
1484
|
sharedGeometry: THREE.CircleGeometry | null;
|
|
1456
1485
|
sharedMaterial: THREE.MeshBasicMaterial | null;
|
|
1457
1486
|
instanceAlphaAttr: THREE.InstancedBufferAttribute | null;
|
|
@@ -1497,7 +1526,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1497
1526
|
};
|
|
1498
1527
|
highlightColor: {
|
|
1499
1528
|
type: StringConstructor;
|
|
1500
|
-
default: string;
|
|
1529
|
+
default: string; /**
|
|
1530
|
+
* Controls how markers and path segments fade based on proximity to the current marker.
|
|
1531
|
+
* @values none, distance, index
|
|
1532
|
+
*/
|
|
1501
1533
|
};
|
|
1502
1534
|
highlightId: {
|
|
1503
1535
|
type: StringConstructor;
|
|
@@ -1516,7 +1548,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1516
1548
|
default: number;
|
|
1517
1549
|
};
|
|
1518
1550
|
opacities: {
|
|
1519
|
-
type: PropType<number[] | null>;
|
|
1551
|
+
type: PropType<number[] | null>; /**
|
|
1552
|
+
* Maximum 3D distance (world units) at which markers fully fade. Only used when `pathFadeMode` is `'distance'`.
|
|
1553
|
+
* Markers closer than this distance interpolate between full opacity and `pathFadeMinOpacity`.
|
|
1554
|
+
*/
|
|
1520
1555
|
default: null;
|
|
1521
1556
|
};
|
|
1522
1557
|
hoveredMarkerId: {
|
|
@@ -1542,7 +1577,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1542
1577
|
id: {
|
|
1543
1578
|
type: PropType<string>;
|
|
1544
1579
|
default: undefined;
|
|
1545
|
-
};
|
|
1580
|
+
}; /**
|
|
1581
|
+
* Position of the performance metrics panel.
|
|
1582
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
1583
|
+
*/
|
|
1546
1584
|
clickable: {
|
|
1547
1585
|
type: BooleanConstructor;
|
|
1548
1586
|
default: boolean;
|
|
@@ -1554,7 +1592,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1554
1592
|
object3d: {
|
|
1555
1593
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1556
1594
|
default: null;
|
|
1557
|
-
};
|
|
1595
|
+
}; /**
|
|
1596
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
1597
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
1598
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
1599
|
+
* intersections so click release stays cheap.
|
|
1600
|
+
*/
|
|
1558
1601
|
}>, {}, {
|
|
1559
1602
|
initialized: boolean;
|
|
1560
1603
|
internalId: string;
|
|
@@ -1572,7 +1615,100 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1572
1615
|
id: {
|
|
1573
1616
|
type: PropType<string>;
|
|
1574
1617
|
default: undefined;
|
|
1618
|
+
}; /**
|
|
1619
|
+
* Position of the performance metrics panel.
|
|
1620
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
1621
|
+
*/
|
|
1622
|
+
clickable: {
|
|
1623
|
+
type: BooleanConstructor;
|
|
1624
|
+
default: boolean;
|
|
1625
|
+
};
|
|
1626
|
+
hoverable: {
|
|
1627
|
+
type: BooleanConstructor;
|
|
1628
|
+
default: boolean;
|
|
1575
1629
|
};
|
|
1630
|
+
object3d: {
|
|
1631
|
+
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1632
|
+
default: null;
|
|
1633
|
+
}; /**
|
|
1634
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
1635
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
1636
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
1637
|
+
* intersections so click release stays cheap.
|
|
1638
|
+
*/
|
|
1639
|
+
}>> & Readonly<{}>, {
|
|
1640
|
+
id: string;
|
|
1641
|
+
clickable: boolean;
|
|
1642
|
+
hoverable: boolean;
|
|
1643
|
+
object3d: THREE.Object3D<THREE.Event> | null;
|
|
1644
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1645
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1646
|
+
EPanoEcho: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1647
|
+
position: {
|
|
1648
|
+
type: PropType<EVector3 | null>;
|
|
1649
|
+
default: null;
|
|
1650
|
+
};
|
|
1651
|
+
color: {
|
|
1652
|
+
type: StringConstructor;
|
|
1653
|
+
default: string;
|
|
1654
|
+
};
|
|
1655
|
+
size: {
|
|
1656
|
+
type: NumberConstructor;
|
|
1657
|
+
default: number;
|
|
1658
|
+
};
|
|
1659
|
+
opacity: {
|
|
1660
|
+
type: NumberConstructor;
|
|
1661
|
+
default: number;
|
|
1662
|
+
};
|
|
1663
|
+
}>, {}, {
|
|
1664
|
+
internalId: string;
|
|
1665
|
+
scene: THREE.Scene | null;
|
|
1666
|
+
group: THREE.Group | null;
|
|
1667
|
+
dot: THREE.Mesh<THREE.BufferGeometry, THREE.Material | THREE.Material[]> | null;
|
|
1668
|
+
rings: THREE.Mesh<THREE.BufferGeometry, THREE.Material | THREE.Material[]>[];
|
|
1669
|
+
elapsed: number;
|
|
1670
|
+
arrivedAt: number;
|
|
1671
|
+
}, {}, {
|
|
1672
|
+
onInit(payload: E3DInitPayload): void;
|
|
1673
|
+
onDispose(): void;
|
|
1674
|
+
rebuild(): void;
|
|
1675
|
+
applyPosition(): void;
|
|
1676
|
+
applyColor(): void;
|
|
1677
|
+
onFrame({ delta }: {
|
|
1678
|
+
delta: number;
|
|
1679
|
+
}): void;
|
|
1680
|
+
disposeMeshes(): void;
|
|
1681
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1682
|
+
position: {
|
|
1683
|
+
type: PropType<EVector3 | null>;
|
|
1684
|
+
default: null;
|
|
1685
|
+
};
|
|
1686
|
+
color: {
|
|
1687
|
+
type: StringConstructor;
|
|
1688
|
+
default: string;
|
|
1689
|
+
};
|
|
1690
|
+
size: {
|
|
1691
|
+
type: NumberConstructor;
|
|
1692
|
+
default: number;
|
|
1693
|
+
};
|
|
1694
|
+
opacity: {
|
|
1695
|
+
type: NumberConstructor;
|
|
1696
|
+
default: number;
|
|
1697
|
+
};
|
|
1698
|
+
}>> & Readonly<{}>, {
|
|
1699
|
+
color: string;
|
|
1700
|
+
size: number;
|
|
1701
|
+
opacity: number;
|
|
1702
|
+
position: EVector3 | null;
|
|
1703
|
+
}, {}, {
|
|
1704
|
+
E3DObject: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1705
|
+
id: {
|
|
1706
|
+
type: PropType<string>;
|
|
1707
|
+
default: undefined;
|
|
1708
|
+
}; /**
|
|
1709
|
+
* Position of the performance metrics panel.
|
|
1710
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
1711
|
+
*/
|
|
1576
1712
|
clickable: {
|
|
1577
1713
|
type: BooleanConstructor;
|
|
1578
1714
|
default: boolean;
|
|
@@ -1584,7 +1720,50 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1584
1720
|
object3d: {
|
|
1585
1721
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1586
1722
|
default: null;
|
|
1723
|
+
}; /**
|
|
1724
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
1725
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
1726
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
1727
|
+
* intersections so click release stays cheap.
|
|
1728
|
+
*/
|
|
1729
|
+
}>, {}, {
|
|
1730
|
+
initialized: boolean;
|
|
1731
|
+
internalId: string;
|
|
1732
|
+
hasFrameCallback: boolean;
|
|
1733
|
+
hasResizeCallback: boolean;
|
|
1734
|
+
}, {
|
|
1735
|
+
context(): E3DCanvas3DExtended | null;
|
|
1736
|
+
effectiveId(): string;
|
|
1737
|
+
}, {
|
|
1738
|
+
initialize(): void;
|
|
1739
|
+
onFrame(payload: import('../../types').E3DFramePayload): void;
|
|
1740
|
+
onResize(payload: import('../../types').E3DResizePayload): void;
|
|
1741
|
+
cleanup(): void;
|
|
1742
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1743
|
+
id: {
|
|
1744
|
+
type: PropType<string>;
|
|
1745
|
+
default: undefined;
|
|
1746
|
+
}; /**
|
|
1747
|
+
* Position of the performance metrics panel.
|
|
1748
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
1749
|
+
*/
|
|
1750
|
+
clickable: {
|
|
1751
|
+
type: BooleanConstructor;
|
|
1752
|
+
default: boolean;
|
|
1753
|
+
};
|
|
1754
|
+
hoverable: {
|
|
1755
|
+
type: BooleanConstructor;
|
|
1756
|
+
default: boolean;
|
|
1587
1757
|
};
|
|
1758
|
+
object3d: {
|
|
1759
|
+
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1760
|
+
default: null;
|
|
1761
|
+
}; /**
|
|
1762
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
1763
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
1764
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
1765
|
+
* intersections so click release stays cheap.
|
|
1766
|
+
*/
|
|
1588
1767
|
}>> & Readonly<{}>, {
|
|
1589
1768
|
id: string;
|
|
1590
1769
|
clickable: boolean;
|
|
@@ -1702,7 +1881,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1702
1881
|
id: {
|
|
1703
1882
|
type: PropType<string>;
|
|
1704
1883
|
default: undefined;
|
|
1705
|
-
};
|
|
1884
|
+
}; /**
|
|
1885
|
+
* Position of the performance metrics panel.
|
|
1886
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
1887
|
+
*/
|
|
1706
1888
|
clickable: {
|
|
1707
1889
|
type: BooleanConstructor;
|
|
1708
1890
|
default: boolean;
|
|
@@ -1714,7 +1896,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1714
1896
|
object3d: {
|
|
1715
1897
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1716
1898
|
default: null;
|
|
1717
|
-
};
|
|
1899
|
+
}; /**
|
|
1900
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
1901
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
1902
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
1903
|
+
* intersections so click release stays cheap.
|
|
1904
|
+
*/
|
|
1718
1905
|
}>, {}, {
|
|
1719
1906
|
initialized: boolean;
|
|
1720
1907
|
internalId: string;
|
|
@@ -1732,7 +1919,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1732
1919
|
id: {
|
|
1733
1920
|
type: PropType<string>;
|
|
1734
1921
|
default: undefined;
|
|
1735
|
-
};
|
|
1922
|
+
}; /**
|
|
1923
|
+
* Position of the performance metrics panel.
|
|
1924
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
1925
|
+
*/
|
|
1736
1926
|
clickable: {
|
|
1737
1927
|
type: BooleanConstructor;
|
|
1738
1928
|
default: boolean;
|
|
@@ -1744,7 +1934,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1744
1934
|
object3d: {
|
|
1745
1935
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1746
1936
|
default: null;
|
|
1747
|
-
};
|
|
1937
|
+
}; /**
|
|
1938
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
1939
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
1940
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
1941
|
+
* intersections so click release stays cheap.
|
|
1942
|
+
*/
|
|
1748
1943
|
}>> & Readonly<{}>, {
|
|
1749
1944
|
id: string;
|
|
1750
1945
|
clickable: boolean;
|
|
@@ -1756,9 +1951,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1756
1951
|
url: {
|
|
1757
1952
|
type: StringConstructor;
|
|
1758
1953
|
required: true;
|
|
1759
|
-
};
|
|
1760
|
-
* When true, clicking a marker emits the event but does not auto-navigate to that marker.
|
|
1761
|
-
*/
|
|
1954
|
+
};
|
|
1762
1955
|
visible: {
|
|
1763
1956
|
type: BooleanConstructor;
|
|
1764
1957
|
default: boolean;
|
|
@@ -1768,7 +1961,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1768
1961
|
default: string;
|
|
1769
1962
|
};
|
|
1770
1963
|
pointSize: {
|
|
1771
|
-
type: NumberConstructor;
|
|
1964
|
+
type: NumberConstructor; /**
|
|
1965
|
+
* When true, clicking a marker emits the event but does not auto-navigate to that marker.
|
|
1966
|
+
*/
|
|
1772
1967
|
default: number;
|
|
1773
1968
|
};
|
|
1774
1969
|
pickable: {
|
|
@@ -1776,17 +1971,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1776
1971
|
default: boolean;
|
|
1777
1972
|
};
|
|
1778
1973
|
}>, {}, {
|
|
1779
|
-
internalId: string;
|
|
1780
|
-
* Preserve the drawing buffer for toDataURL() / screenshot support.
|
|
1781
|
-
* Disable for better performance when screenshots are not needed.
|
|
1782
|
-
*/
|
|
1974
|
+
internalId: string;
|
|
1783
1975
|
scene: THREE.Scene | null;
|
|
1784
1976
|
model: THREE.Object3D<THREE.Event> | null;
|
|
1785
1977
|
isLoading: boolean;
|
|
1786
1978
|
loadToken: number;
|
|
1787
|
-
abortController: AbortController | null;
|
|
1788
|
-
* External camera state (azimuth, polar, zoom) to apply. Changes are watched and applied immediately.
|
|
1789
|
-
*/
|
|
1979
|
+
abortController: AbortController | null;
|
|
1790
1980
|
}, {
|
|
1791
1981
|
fileExtension(): string;
|
|
1792
1982
|
}, {
|
|
@@ -1808,9 +1998,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1808
1998
|
url: {
|
|
1809
1999
|
type: StringConstructor;
|
|
1810
2000
|
required: true;
|
|
1811
|
-
};
|
|
1812
|
-
* When true, clicking a marker emits the event but does not auto-navigate to that marker.
|
|
1813
|
-
*/
|
|
2001
|
+
};
|
|
1814
2002
|
visible: {
|
|
1815
2003
|
type: BooleanConstructor;
|
|
1816
2004
|
default: boolean;
|
|
@@ -1820,7 +2008,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1820
2008
|
default: string;
|
|
1821
2009
|
};
|
|
1822
2010
|
pointSize: {
|
|
1823
|
-
type: NumberConstructor;
|
|
2011
|
+
type: NumberConstructor; /**
|
|
2012
|
+
* When true, clicking a marker emits the event but does not auto-navigate to that marker.
|
|
2013
|
+
*/
|
|
1824
2014
|
default: number;
|
|
1825
2015
|
};
|
|
1826
2016
|
pickable: {
|
|
@@ -1837,7 +2027,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1837
2027
|
id: {
|
|
1838
2028
|
type: PropType<string>;
|
|
1839
2029
|
default: undefined;
|
|
1840
|
-
};
|
|
2030
|
+
}; /**
|
|
2031
|
+
* Position of the performance metrics panel.
|
|
2032
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
2033
|
+
*/
|
|
1841
2034
|
clickable: {
|
|
1842
2035
|
type: BooleanConstructor;
|
|
1843
2036
|
default: boolean;
|
|
@@ -1849,7 +2042,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1849
2042
|
object3d: {
|
|
1850
2043
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1851
2044
|
default: null;
|
|
1852
|
-
};
|
|
2045
|
+
}; /**
|
|
2046
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
2047
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
2048
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
2049
|
+
* intersections so click release stays cheap.
|
|
2050
|
+
*/
|
|
1853
2051
|
}>, {}, {
|
|
1854
2052
|
initialized: boolean;
|
|
1855
2053
|
internalId: string;
|
|
@@ -1867,7 +2065,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1867
2065
|
id: {
|
|
1868
2066
|
type: PropType<string>;
|
|
1869
2067
|
default: undefined;
|
|
1870
|
-
};
|
|
2068
|
+
}; /**
|
|
2069
|
+
* Position of the performance metrics panel.
|
|
2070
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
2071
|
+
*/
|
|
1871
2072
|
clickable: {
|
|
1872
2073
|
type: BooleanConstructor;
|
|
1873
2074
|
default: boolean;
|
|
@@ -1879,7 +2080,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1879
2080
|
object3d: {
|
|
1880
2081
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1881
2082
|
default: null;
|
|
1882
|
-
};
|
|
2083
|
+
}; /**
|
|
2084
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
2085
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
2086
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
2087
|
+
* intersections so click release stays cheap.
|
|
2088
|
+
*/
|
|
1883
2089
|
}>> & Readonly<{}>, {
|
|
1884
2090
|
id: string;
|
|
1885
2091
|
clickable: boolean;
|
|
@@ -1920,7 +2126,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1920
2126
|
id: {
|
|
1921
2127
|
type: PropType<string>;
|
|
1922
2128
|
default: undefined;
|
|
1923
|
-
};
|
|
2129
|
+
}; /**
|
|
2130
|
+
* Position of the performance metrics panel.
|
|
2131
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
2132
|
+
*/
|
|
1924
2133
|
clickable: {
|
|
1925
2134
|
type: BooleanConstructor;
|
|
1926
2135
|
default: boolean;
|
|
@@ -1932,7 +2141,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1932
2141
|
object3d: {
|
|
1933
2142
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1934
2143
|
default: null;
|
|
1935
|
-
};
|
|
2144
|
+
}; /**
|
|
2145
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
2146
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
2147
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
2148
|
+
* intersections so click release stays cheap.
|
|
2149
|
+
*/
|
|
1936
2150
|
}>, {}, {
|
|
1937
2151
|
initialized: boolean;
|
|
1938
2152
|
internalId: string;
|
|
@@ -1950,7 +2164,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1950
2164
|
id: {
|
|
1951
2165
|
type: PropType<string>;
|
|
1952
2166
|
default: undefined;
|
|
1953
|
-
};
|
|
2167
|
+
}; /**
|
|
2168
|
+
* Position of the performance metrics panel.
|
|
2169
|
+
* @values top-left, top-right, bottom-left, bottom-right
|
|
2170
|
+
*/
|
|
1954
2171
|
clickable: {
|
|
1955
2172
|
type: BooleanConstructor;
|
|
1956
2173
|
default: boolean;
|
|
@@ -1962,7 +2179,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1962
2179
|
object3d: {
|
|
1963
2180
|
type: PropType<THREE.Object3D<THREE.Event> | null>;
|
|
1964
2181
|
default: null;
|
|
1965
|
-
};
|
|
2182
|
+
}; /**
|
|
2183
|
+
* Whether scene-click / scene-pointer-move should raycast against the
|
|
2184
|
+
* pickables (sphere, model). Raycasting a large model or point cloud
|
|
2185
|
+
* tests every triangle/point — disable when no feature consumes the
|
|
2186
|
+
* intersections so click release stays cheap.
|
|
2187
|
+
*/
|
|
1966
2188
|
}>> & Readonly<{}>, {
|
|
1967
2189
|
id: string;
|
|
1968
2190
|
clickable: boolean;
|