Ver Fonte

3dModeling UIAnchor.js 吉超博 commit at 2020-09-14

吉超博 há 4 anos atrás
pai
commit
2deb46e481
1 ficheiros alterados com 12 adições e 0 exclusões
  1. 12 0
      3dModeling/zhhry15/UIAnchor.js

+ 12 - 0
3dModeling/zhhry15/UIAnchor.js

@@ -0,0 +1,12 @@
+/**
+ * 创建UIAnchor界面
+ * @param {Object} obj - 创建界面的父物体
+ * @param {String} value - 创建界面的类型
+ */
+function createUIAnchor(floorNum) {
+    let anchorCreateJson = {
+        type: "UIAnchor",
+        //   element: $(".pictureMarker")[0],
+        //  position: [100, -10, -21],
+        //  parent: app.query('#1F1FS01')[0],
+        //  pivotPixel: [parseFloat($(".textAndPictureMarker").css("width")) / 2, parseFloat($(".textAndPictureMarker").css("height"))],