@manycore/custom-sdk 3.1.6 → 3.1.8
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/index.d.ts +18 -0
- package/index.js +8 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -185,6 +185,19 @@ declare abstract class BaseService {
|
|
|
185
185
|
__onDestroy?(): void;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
export declare enum CameraTranlateMode {
|
|
189
|
+
/**
|
|
190
|
+
* 默认模式
|
|
191
|
+
* 前后左右平移
|
|
192
|
+
*/
|
|
193
|
+
Default = 0,
|
|
194
|
+
/**
|
|
195
|
+
* 经典模式
|
|
196
|
+
* 上下左右平移
|
|
197
|
+
*/
|
|
198
|
+
Classical = 1,
|
|
199
|
+
}
|
|
200
|
+
|
|
188
201
|
export declare enum CameraType {
|
|
189
202
|
/**
|
|
190
203
|
* 透视相机
|
|
@@ -4044,6 +4057,11 @@ export declare class FittingDesignService extends BaseService {
|
|
|
4044
4057
|
modelId: string;
|
|
4045
4058
|
scale: number;
|
|
4046
4059
|
}): Promise<void>;
|
|
4060
|
+
/**
|
|
4061
|
+
* 切换相机平移模式
|
|
4062
|
+
* @param mode 相机平移模式
|
|
4063
|
+
*/
|
|
4064
|
+
toggleCameraTranslateMode(mode: CameraTranlateMode): void;
|
|
4047
4065
|
}
|
|
4048
4066
|
|
|
4049
4067
|
/**
|