@xtctwins/tctwins-core 1.0.50 → 1.0.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtctwins/tctwins-core",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "private": false,
5
5
  "description": "Web Programming Toolkit for 3D/2D BIM and CAD",
6
6
  "module": "./dist/tctwins-core.es5.js",
@@ -129,6 +129,9 @@ export declare class CameraControl extends Component {
129
129
  on(event: "touchDoublePickedSurface", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
130
130
  on(event: "touchDoublePickedNothing", callback: () => void, scope?: any): string;
131
131
 
132
+ on(event: "personModeSpeedUp", callback: () => void, scope?: any): string;
133
+ on(event: "personModeSpeedDown", callback: () => void, scope?: any): string;
134
+
132
135
  /**
133
136
  * 停止漫游
134
137
  */
@@ -137,7 +140,12 @@ export declare class CameraControl extends Component {
137
140
  * 设置漫游移动速率
138
141
  * @param {number} rate
139
142
  */
140
- set moveRate(rate: Number);
143
+ set moveRate(rate: number);
144
+
145
+ get moveRate(): number;
146
+
147
+ speedUp(): void;
148
+ speedDown(): void;
141
149
 
142
150
  /**
143
151
  * 漫游向右