mxdraw 0.1.83 → 0.1.84
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/lib/MxModule/MxDbImage/MxDbImage.js +1 -1
- package/dist/lib/MxModule/loadCoreCode/mxfun.es5.js +1 -1
- package/dist/mxdraw.es5.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/dist/types/MxModule/McGiWorldDraw/McGiWorldDraw.d.ts +10 -0
- package/dist/types/MxModule/MxDbImage/MxDbImage.d.ts +9 -0
- package/package.json +1 -1
|
@@ -221,6 +221,16 @@ export default interface McGiWorldDraw {
|
|
|
221
221
|
*
|
|
222
222
|
*/
|
|
223
223
|
drawSelectLine(pt1: THREE.Vector3 | number, pt2: THREE.Vector3 | number, x2?: number, y2?: number): void;
|
|
224
|
+
/**
|
|
225
|
+
* 设置变换矩阵
|
|
226
|
+
* @param
|
|
227
|
+
*/
|
|
228
|
+
setMatrix(matrix: THREE.Matrix4 | null): void;
|
|
229
|
+
/**
|
|
230
|
+
* 返回变换矩阵
|
|
231
|
+
* @param
|
|
232
|
+
*/
|
|
233
|
+
getMatrix(): THREE.Matrix4 | null;
|
|
224
234
|
/**
|
|
225
235
|
*设置透明度
|
|
226
236
|
* @returns
|
|
@@ -11,7 +11,16 @@ export default class MxDbImage extends MxDbEntity {
|
|
|
11
11
|
private imagePath;
|
|
12
12
|
private isLoadMaterialFromPath;
|
|
13
13
|
private material;
|
|
14
|
+
private angle;
|
|
14
15
|
getTypeName(): string;
|
|
16
|
+
/** 返回图片的旋转角度,相对图片中心点旋转.
|
|
17
|
+
* @param
|
|
18
|
+
* */
|
|
19
|
+
getAngle(): number;
|
|
20
|
+
/** 设置图片的旋转角度,相对图片中心点旋转.
|
|
21
|
+
* @param
|
|
22
|
+
* */
|
|
23
|
+
setAngle(angle: number): void;
|
|
15
24
|
worldDraw(pWorldDraw: McGiWorldDraw): void;
|
|
16
25
|
/** 设置图片路径
|
|
17
26
|
* @param sPath 路径
|