@realsee/dnalogel 3.75.1 → 3.76.0-alpha.1
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/CHANGELOG.md +4 -0
- package/dist/Sculpt/index.d.ts +11 -2
- package/dist/index.cjs.js +5 -5
- package/dist/index.js +7 -8
- package/dist/index.umd.js +5 -5
- package/dist/shared-utils/three/PointSelector/index.d.ts +5 -1
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +7 -10
- package/libs/Sculpt/index.d.ts +11 -2
- package/libs/Sculpt/utils/Modules/Global.js +2 -1
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +5 -1
- package/libs/shared-utils/three/PointSelector/index.js +5 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/Sculpt/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface SculptConfig {
|
|
|
32
32
|
/**
|
|
33
33
|
* @description 放大镜配置
|
|
34
34
|
* 设置为 null 或 false 可禁用放大镜功能
|
|
35
|
-
* @default { width: 190, height: 190, scale: 2, dragEnabled: true }
|
|
35
|
+
* @default *{ width: 190, height: 190, scale: 2, dragEnabled: true }*
|
|
36
36
|
*/
|
|
37
37
|
magnifier?: MagnifierParameter | null | false;
|
|
38
38
|
/**
|
|
@@ -41,6 +41,11 @@ export interface SculptConfig {
|
|
|
41
41
|
* @default false
|
|
42
42
|
*/
|
|
43
43
|
hideCursorCircle?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* @description 是否自定义拾取点过滤函数
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
hitFilter?: (intersect: THREE.Intersection) => boolean;
|
|
44
49
|
}
|
|
45
50
|
interface Data {
|
|
46
51
|
items: Array<BuiltInData>;
|
|
@@ -236,7 +241,11 @@ export declare const SculptPlugin: (five: Five, themeOrParams?: Partial<{
|
|
|
236
241
|
polyline: Partial<import("./typings").LineMeshStyle>;
|
|
237
242
|
polygon: Partial<import("./typings").AreaStyle>;
|
|
238
243
|
prism: Partial<import("./typings").PrismStyle>;
|
|
239
|
-
rectangle: Partial<import("./typings").RectangleStyle>;
|
|
244
|
+
rectangle: Partial<import("./typings").RectangleStyle>; /**
|
|
245
|
+
* @description prism 检测到自相交时的回调
|
|
246
|
+
* @param item Prism 实例
|
|
247
|
+
* @param point 尝试添加但被拒绝的点坐标
|
|
248
|
+
*/
|
|
240
249
|
circle: Partial<import("./typings").CircleStyle>;
|
|
241
250
|
cylinder: Partial<import("./typings").CircleStyle>;
|
|
242
251
|
box: Partial<import("./typings").BoxStyle>;
|