@realsee/dnalogel 3.77.3 → 3.77.4

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 CHANGED
@@ -1,7 +1,12 @@
1
1
  # CHANGELOG
2
+ ## 3.77.4
3
+
4
+ - feat(Sculpt): 增加sculpt立方体,多棱柱编辑进行中对外的状态
5
+
2
6
  ## 3.77.3
3
7
 
4
8
  - feat(CruisePlugin): 导览新增语音播放功能
9
+
5
10
  ## 3.77.2
6
11
 
7
12
  - fix(Sculpt): 修复 hitFilter 配置为可选,避免未配置时报错
@@ -6,13 +6,17 @@ import type { Direction, Direction4 } from '../../../shared-utils/Object3DHelper
6
6
  export type ObjectUpdateType = 'move' | 'rotate' | 'scale';
7
7
  export interface ObjectUpdateParams {
8
8
  /** 操作类型:移动、旋转、缩放 */
9
- type: ObjectUpdateType;
9
+ type?: ObjectUpdateType;
10
10
  /** 开始时间戳 */
11
- start_timestamp: number;
11
+ start_timestamp?: number;
12
12
  /** 结束时间戳 */
13
13
  end_timestamp?: number;
14
14
  /** 轴向 */
15
15
  axis?: Direction | Direction4;
16
+ /** 进行中的状态 */
17
+ status?: 'moving' | 'rotating' | 'scaling';
18
+ /** 是否为操作结束,true 表示松手,false 表示拖动中 */
19
+ is_handle_end?: boolean;
16
20
  }
17
21
  export declare class BaseEditor<OriginObject extends THREE.Object3D = THREE.Object3D> extends IObject3D {
18
22
  hooks: Subscribe<{
@@ -40,6 +44,9 @@ export declare class BaseEditorWithObjectHelper<OriginObject extends THREE.Objec
40
44
  private onMoveStart;
41
45
  private onRotateStart;
42
46
  private onScaleStart;
47
+ private onMove;
48
+ private onRotate;
49
+ private onScale;
43
50
  private onMoveEnd;
44
51
  private onRotateEnd;
45
52
  private onScaleEnd;