@realsee/dnalogel 3.51.0 → 3.52.0
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 +12 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +9 -9
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
- package/dist/PanoMeasurePlugin/Model/area.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/data.d.ts +1 -2
- package/dist/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Meshes/Box.d.ts +6 -24
- package/dist/Sculpt/Meshes/Circle.d.ts +0 -4
- package/dist/Sculpt/Meshes/Cylinder.d.ts +0 -1
- package/dist/Sculpt/Meshes/Line.d.ts +9 -22
- package/dist/Sculpt/Meshes/Polygon.d.ts +1 -5
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/Meshes/Prism.d.ts +29 -10
- package/dist/Sculpt/Meshes/Rectangle.d.ts +1 -1
- package/dist/Sculpt/Objects/Base/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Box/index.d.ts +7 -2
- package/dist/Sculpt/Objects/Circle/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Line/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Point/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Polygon/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Polyline/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Prism/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +12 -0
- package/dist/Sculpt/index.d.ts +11 -10
- package/dist/Sculpt/typings/style.d.ts +6 -0
- package/dist/Sculpt/utils/export.d.ts +24 -18
- package/dist/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
- package/dist/index.cjs.js +88 -3009
- package/dist/index.d.ts +79 -1
- package/dist/index.js +35153 -54255
- package/dist/index.umd.js +81 -3002
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
- package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
- package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
- package/dist/shared-utils/five/FiveLine.d.ts +18 -14
- package/dist/shared-utils/index.d.ts +0 -1
- package/dist/shared-utils/math/planimetry.d.ts +1 -1
- package/dist/shared-utils/tag.d.ts +5 -7
- package/dist/shared-utils/three/boundingBox.d.ts +14 -20
- package/dist/shared-utils/three/core/LineGeometry.d.ts +13 -0
- package/dist/shared-utils/three/core/PrismGeometry.d.ts +14 -0
- package/dist/shared-utils/three/geometryUtil.d.ts +8 -0
- package/dist/shared-utils/three/getNormal.d.ts +5 -2
- package/libs/AreaMakerPlugin/Controller.js +47 -100
- package/libs/AreaMakerPlugin/index.js +12 -65
- package/libs/AreaMakerPlugin/utils/Item.js +102 -157
- package/libs/CSS3DRenderPlugin/Controller.js +45 -93
- package/libs/CSS3DRenderPlugin/index.js +15 -63
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +51 -106
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +79 -131
- package/libs/CruisePlugin/BaseController.js +90 -143
- package/libs/CruisePlugin/Move.js +39 -83
- package/libs/CruisePlugin/Work.js +52 -96
- package/libs/CruisePlugin/index.js +23 -67
- package/libs/CurrentPanoImagePlugin/Controller.js +88 -141
- package/libs/CurrentPanoImagePlugin/index.js +11 -64
- package/libs/GuideLinePlugin/Controller.js +13 -57
- package/libs/GuideLinePlugin/GuideLineItem.js +20 -64
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -8
- package/libs/GuideLinePlugin/GuideLineModeItem.js +15 -59
- package/libs/GuideLinePlugin/index.js +23 -67
- package/libs/ModelMakerPlugin/Controller.js +125 -165
- package/libs/ModelMakerPlugin/index.js +23 -63
- package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +6 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
- package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +2 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +49 -97
- package/libs/ModelTVVideoPlugin/index.js +8 -56
- package/libs/Object3DHelperPlugin/Controller.d.ts +9 -9
- package/libs/Object3DHelperPlugin/Controller.js +105 -92
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +35 -30
- package/libs/Object3DHelperPlugin/index.js +15 -30
- package/libs/PanoCompassPlugin/Controller.js +46 -93
- package/libs/PanoCompassPlugin/index.js +17 -64
- package/libs/PanoCursorRaycasterPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +27 -80
- package/libs/PanoDoorLabelPlugin/Controller.js +80 -133
- package/libs/PanoDoorLabelPlugin/index.js +11 -64
- package/libs/PanoMeasurePlugin/Components/Controller0.js +79 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +92 -141
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +73 -122
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +72 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +89 -135
- package/libs/PanoMeasurePlugin/Model/area.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/area.js +25 -74
- package/libs/PanoMeasurePlugin/Model/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/line.js +1 -0
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polygon.js +7 -7
- package/libs/PanoMeasurePlugin/Model/polyline.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -56
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +17 -66
- package/libs/PanoMeasurePlugin/index.js +18 -64
- package/libs/PanoMeasurePlugin/typings/data.d.ts +1 -2
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -59
- package/libs/PanoMeasurePlugin/utils/line.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +34 -89
- package/libs/PanoRulerProPlugin/RulerItems.js +92 -147
- package/libs/PanoRulerProPlugin/index.js +10 -65
- package/libs/PanoSpatialTagPlugin/Plugin.js +130 -178
- package/libs/PanoSpatialTagPlugin/index.js +6 -54
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +61 -116
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +138 -193
- package/libs/PanoTagPlugin/Components/Tag/index.js +140 -194
- package/libs/PanoTagPlugin/Components/TagContainer.js +58 -112
- package/libs/PanoTagPlugin/Components/TagItem.js +137 -191
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +109 -164
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -76
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +33 -87
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +39 -94
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -62
- package/libs/PanoTagPlugin/controller/TagUtil.js +80 -124
- package/libs/PanoTagPlugin/controller/index.js +37 -81
- package/libs/PanoTagPlugin/index.js +28 -72
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +14 -14
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +22 -77
- package/libs/PanoVideoPlugin/Controller.js +43 -96
- package/libs/PanoVideoPlugin/VideoMeshController.js +64 -119
- package/libs/PanoVideoPlugin/index.js +14 -67
- package/libs/PipelinePlugin/Controller.js +123 -176
- package/libs/PipelinePlugin/index.js +11 -64
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +15 -70
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -58
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +42 -97
- package/libs/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/BoxMeshEditor.js +98 -0
- package/libs/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/CircleMeshEditor.js +9 -0
- package/libs/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/CylinderMeshEditor.js +41 -0
- package/libs/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/PrismMeshEditor.js +43 -0
- package/libs/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/RectangleMeshEditor.js +70 -0
- package/libs/Sculpt/Meshes/Box.d.ts +6 -24
- package/libs/Sculpt/Meshes/Box.js +22 -93
- package/libs/Sculpt/Meshes/Circle.d.ts +0 -4
- package/libs/Sculpt/Meshes/Circle.js +18 -27
- package/libs/Sculpt/Meshes/Cylinder.d.ts +0 -1
- package/libs/Sculpt/Meshes/Cylinder.js +17 -24
- package/libs/Sculpt/Meshes/Line.d.ts +9 -22
- package/libs/Sculpt/Meshes/Line.js +85 -104
- package/libs/Sculpt/Meshes/LineWithDots.js +10 -14
- package/libs/Sculpt/Meshes/Point.js +29 -34
- package/libs/Sculpt/Meshes/Polygon.d.ts +1 -5
- package/libs/Sculpt/Meshes/Polygon.js +40 -53
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Prism.d.ts +29 -10
- package/libs/Sculpt/Meshes/Prism.js +108 -84
- package/libs/Sculpt/Meshes/Rectangle.d.ts +1 -1
- package/libs/Sculpt/Meshes/Rectangle.js +7 -10
- package/libs/Sculpt/Meshes/RectangleWithEdge.js +17 -20
- package/libs/Sculpt/Objects/Base/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Base/index.js +16 -17
- package/libs/Sculpt/Objects/Box/index.d.ts +7 -2
- package/libs/Sculpt/Objects/Box/index.js +72 -60
- package/libs/Sculpt/Objects/Circle/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Circle/index.js +34 -30
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Cylinder/index.js +46 -42
- package/libs/Sculpt/Objects/Line/Editor.js +8 -10
- package/libs/Sculpt/Objects/Line/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Line/index.js +45 -41
- package/libs/Sculpt/Objects/Point/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Point/index.js +33 -29
- package/libs/Sculpt/Objects/Polygon/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Polygon/index.js +67 -63
- package/libs/Sculpt/Objects/Polyline/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Polyline/index.js +46 -42
- package/libs/Sculpt/Objects/Prism/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Prism/index.js +58 -53
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +12 -0
- package/libs/Sculpt/Objects/Rectangle/index.js +142 -81
- package/libs/Sculpt/index.d.ts +11 -10
- package/libs/Sculpt/index.js +105 -107
- package/libs/Sculpt/typings/style.d.ts +6 -0
- package/libs/Sculpt/utils/export.d.ts +24 -18
- package/libs/Sculpt/utils/export.js +52 -19
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.js +9 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +40 -37
- package/libs/base/BasePlugin.js +10 -15
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +96 -147
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +12 -63
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +53 -105
- package/libs/floorplan/ModelFloorplanPlugin/index.js +11 -63
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +65 -118
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +11 -64
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +54 -106
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +11 -63
- package/libs/floorplan/index.js +0 -5
- package/libs/index.d.ts +79 -1
- package/libs/index.js +229 -215
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +112 -122
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +60 -39
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +47 -47
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +28 -28
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +25 -18
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +18 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +40 -28
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.js +4 -4
- package/libs/shared-utils/five/FiveDomEvents.js +88 -88
- package/libs/shared-utils/five/FiveLine.d.ts +18 -14
- package/libs/shared-utils/five/FiveLine.js +31 -13
- package/libs/shared-utils/five/index.js +2 -7
- package/libs/shared-utils/five/lookObject.js +27 -32
- package/libs/shared-utils/index.d.ts +0 -1
- package/libs/shared-utils/index.js +31 -33
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/planimetry.d.ts +1 -1
- package/libs/shared-utils/tag.d.ts +5 -7
- package/libs/shared-utils/tag.js +1 -1
- package/libs/shared-utils/three/boundingBox.d.ts +14 -20
- package/libs/shared-utils/three/core/LineGeometry.d.ts +13 -0
- package/libs/shared-utils/three/core/LineGeometry.js +26 -0
- package/libs/shared-utils/three/core/PrismGeometry.d.ts +14 -0
- package/libs/shared-utils/three/core/PrismGeometry.js +42 -0
- package/libs/shared-utils/three/earcut3D.js +5 -5
- package/libs/shared-utils/three/geometryUtil.d.ts +8 -0
- package/libs/shared-utils/three/geometryUtil.js +3 -1
- package/libs/shared-utils/three/getNormal.d.ts +5 -2
- package/libs/shared-utils/three/getNormal.js +6 -5
- package/libs/shared-utils/three/index.js +0 -5
- package/package.json +1 -1
- package/dist/Sculpt/Objects/Box/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Circle/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Prism/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
- package/dist/Sculpt/utils/getBetterNormal.d.ts +0 -2
- package/libs/Sculpt/Objects/Box/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Box/Editor.js +0 -44
- package/libs/Sculpt/Objects/Circle/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Circle/Editor.js +0 -9
- package/libs/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Cylinder/Editor.js +0 -41
- package/libs/Sculpt/Objects/Prism/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Prism/Editor.js +0 -44
- package/libs/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Rectangle/Editor.js +0 -9
- package/libs/Sculpt/utils/getBetterNormal.d.ts +0 -2
- package/libs/Sculpt/utils/getBetterNormal.js +0 -8
- package/libs/vendor/three/build/three.module.js +0 -19336
- package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +0 -28
- package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +0 -69
|
@@ -4,12 +4,11 @@ import "../../shared-utils/five/calculateThreeMouse.js";
|
|
|
4
4
|
import "three";
|
|
5
5
|
import "../../shared-utils/five/getFiveModel.js";
|
|
6
6
|
import "../../shared-utils/three/core/Raycaster.js";
|
|
7
|
-
import "../../shared-utils/isTouchDevice.js";
|
|
8
7
|
let t;
|
|
9
|
-
const
|
|
8
|
+
const v = (e) => ((!t || e !== t.five) && (t = {
|
|
10
9
|
instance: new n(e, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
|
|
11
10
|
five: e
|
|
12
11
|
}), t.instance);
|
|
13
12
|
export {
|
|
14
|
-
|
|
13
|
+
v as getFiveDomEvent
|
|
15
14
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
var R = (s, g, e) => new Promise((f, v) => {
|
|
2
|
-
var b = (
|
|
2
|
+
var b = (l) => {
|
|
3
3
|
try {
|
|
4
|
-
h(e.next(
|
|
4
|
+
h(e.next(l));
|
|
5
5
|
} catch (x) {
|
|
6
6
|
v(x);
|
|
7
7
|
}
|
|
8
|
-
}, w = (
|
|
8
|
+
}, w = (l) => {
|
|
9
9
|
try {
|
|
10
|
-
h(e.throw(
|
|
10
|
+
h(e.throw(l));
|
|
11
11
|
} catch (x) {
|
|
12
12
|
v(x);
|
|
13
13
|
}
|
|
14
|
-
}, h = (
|
|
14
|
+
}, h = (l) => l.done ? f(l.value) : Promise.resolve(l.value).then(b, w);
|
|
15
15
|
h((e = e.apply(s, g)).next());
|
|
16
16
|
});
|
|
17
|
-
import * as
|
|
17
|
+
import * as m from "three";
|
|
18
18
|
import { parseModelTVVideoPoints as S } from "./utils/parseData.js";
|
|
19
19
|
import { CSS3DRenderPlugin as z } from "../CSS3DRenderPlugin/index.js";
|
|
20
20
|
import { Image_Play_Icon_With_Text as O } from "../PanoTagPlugin/Assets/Icon.js";
|
|
@@ -57,76 +57,28 @@ import "../Sculpt/Meshes/Line.js";
|
|
|
57
57
|
import "../Sculpt/typings/style.js";
|
|
58
58
|
import "../shared-utils/five/FiveLine.js";
|
|
59
59
|
import "@realsee/five/line";
|
|
60
|
-
import "../
|
|
61
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
62
|
-
import "../vendor/three/build/three.module.js";
|
|
60
|
+
import "../shared-utils/isNil.js";
|
|
63
61
|
import "../shared-utils/three/IObject3D.js";
|
|
64
62
|
import "../Sculpt/utils/removeAllTag.js";
|
|
65
63
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
66
64
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
67
65
|
import "../shared-utils/util.js";
|
|
66
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
68
67
|
import "../shared-utils/three/core/Sphere.js";
|
|
69
68
|
import "animejs";
|
|
70
|
-
import "../shared-utils/isNil.js";
|
|
71
69
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
72
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
73
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
74
|
-
import "../shared-utils/three/earcut3D.js";
|
|
75
|
-
import "earcut";
|
|
76
|
-
import "../shared-utils/three/getNormal.js";
|
|
77
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
78
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
79
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
80
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
81
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
82
|
-
import "../base/BasePlugin.js";
|
|
83
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
84
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
85
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
86
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
87
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
88
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
89
|
-
import "../shared-utils/three/boundingBox.js";
|
|
90
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
91
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
92
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
93
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
94
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
95
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
96
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
97
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
98
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
99
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
100
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
101
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
102
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
103
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
104
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
105
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
106
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
107
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
108
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
109
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
110
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
111
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
112
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
113
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
114
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
115
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
116
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
117
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
118
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
119
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
120
|
-
import "../shared-utils/isTouchDevice.js";
|
|
121
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
122
70
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
71
|
+
import "../shared-utils/isTouchDevice.js";
|
|
123
72
|
import "../shared-utils/five/getPosition.js";
|
|
124
73
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
125
74
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
126
75
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
127
76
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
128
77
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
129
|
-
|
|
78
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
79
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
80
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
81
|
+
const $e = (s, { videoElement: g }) => {
|
|
130
82
|
const e = {
|
|
131
83
|
videoMeshes: [],
|
|
132
84
|
videoTextureEnabled: !1,
|
|
@@ -161,27 +113,27 @@ const Ct = (s, { videoElement: g }) => {
|
|
|
161
113
|
t();
|
|
162
114
|
else
|
|
163
115
|
return s.once("modelLoaded", () => t());
|
|
164
|
-
},
|
|
116
|
+
}, l = () => {
|
|
165
117
|
e.enabled && (e.enabled = !1, e.videoMeshes.forEach((t) => {
|
|
166
118
|
t.geometry.dispose(), t.material.dispose(), s.scene.remove(t), e.videoTexture && e.videoTexture.image.pause();
|
|
167
119
|
}), e.videoMeshes = [], s.needsRender = !0);
|
|
168
120
|
}, x = () => e.rectPoints.map((t, i) => {
|
|
169
|
-
const n = new
|
|
170
|
-
|
|
121
|
+
const n = new m.BufferGeometry(), o = 128, d = [];
|
|
122
|
+
d.push(...t[0].toArray());
|
|
171
123
|
for (let r = 1; r < o; r++)
|
|
172
|
-
|
|
124
|
+
d.push(
|
|
173
125
|
t[0].x + (t[1].x - t[0].x) * r / o,
|
|
174
126
|
t[0].y + (t[1].y - t[0].y) * r / o,
|
|
175
127
|
t[0].z + (t[1].z - t[0].z) * r / o
|
|
176
128
|
);
|
|
177
|
-
|
|
129
|
+
d.push(...t[1].toArray()), d.push(...t[2].toArray());
|
|
178
130
|
for (let r = 1; r < o; r++)
|
|
179
|
-
|
|
131
|
+
d.push(
|
|
180
132
|
t[2].x + (t[3].x - t[2].x) * r / o,
|
|
181
133
|
t[2].y + (t[3].y - t[2].y) * r / o,
|
|
182
134
|
t[2].z + (t[3].z - t[2].z) * r / o
|
|
183
135
|
);
|
|
184
|
-
|
|
136
|
+
d.push(...t[3].toArray());
|
|
185
137
|
const a = [];
|
|
186
138
|
a.push(0, 1);
|
|
187
139
|
for (let r = 1; r < o; r++)
|
|
@@ -190,15 +142,15 @@ const Ct = (s, { videoElement: g }) => {
|
|
|
190
142
|
for (let r = 1; r < o; r++)
|
|
191
143
|
a.push(1, r / o);
|
|
192
144
|
a.push(1, 1);
|
|
193
|
-
const
|
|
145
|
+
const c = [];
|
|
194
146
|
for (let r = 0; r < o; r++)
|
|
195
|
-
|
|
196
|
-
n.setAttribute("position", new
|
|
197
|
-
const
|
|
147
|
+
c.push(r, r + 1, o * 2 - r, r, o * 2 - r, o * 2 + 1 - r);
|
|
148
|
+
n.setAttribute("position", new m.BufferAttribute(new Float32Array(d), 3)), n.setAttribute("uv", new m.BufferAttribute(new Float32Array(a), 2)), n.setIndex(new m.BufferAttribute(new Uint32Array(c), 1));
|
|
149
|
+
const u = new m.MeshBasicMaterial({
|
|
198
150
|
map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
|
|
199
|
-
side:
|
|
200
|
-
}),
|
|
201
|
-
|
|
151
|
+
side: m.DoubleSide
|
|
152
|
+
}), p = new m.Mesh(n, u);
|
|
153
|
+
p.renderOrder = 1, p.name = `ModelTVVideoPlugin-${i}-${performance.now()}`;
|
|
202
154
|
const I = [t[1], t[2], t[3], t[0]], y = f.create3DDomContainer(I);
|
|
203
155
|
if (y != null && y.container) {
|
|
204
156
|
const r = document.createElement("div");
|
|
@@ -206,30 +158,30 @@ const Ct = (s, { videoElement: g }) => {
|
|
|
206
158
|
const T = document.createElement("img");
|
|
207
159
|
T.src = O, T.style.width = "200px", T.style.pointerEvents = "auto", T.onclick = () => {
|
|
208
160
|
e.videoTexture.image.muted = !1, e.videoTexture.image.play();
|
|
209
|
-
}, r.appendChild(T), v.set(
|
|
161
|
+
}, r.appendChild(T), v.set(p, y);
|
|
210
162
|
}
|
|
211
|
-
return
|
|
163
|
+
return p;
|
|
212
164
|
}), F = (t) => {
|
|
213
|
-
const i = new
|
|
214
|
-
return i.minFilter =
|
|
165
|
+
const i = new m.TextureLoader().load(t);
|
|
166
|
+
return i.minFilter = m.LinearFilter, i.magFilter = m.LinearFilter, i.format = m.RGBFormat, i;
|
|
215
167
|
}, P = (t, i) => {
|
|
216
168
|
let n = i;
|
|
217
|
-
return new Promise((o,
|
|
169
|
+
return new Promise((o, d) => {
|
|
218
170
|
const a = new XMLHttpRequest();
|
|
219
171
|
a.onreadystatechange = () => {
|
|
220
172
|
if (a.readyState === 4)
|
|
221
173
|
if (a.status === 200) {
|
|
222
|
-
const
|
|
223
|
-
n = n || document.createElement("video"), n.crossOrigin = "anonymous", n.muted = !0, n.loop = !0, n.playsInline = !0, n.src =
|
|
224
|
-
const
|
|
225
|
-
|
|
174
|
+
const c = window.URL || window.webkitURL;
|
|
175
|
+
n = n || document.createElement("video"), n.crossOrigin = "anonymous", n.muted = !0, n.loop = !0, n.playsInline = !0, n.src = c.createObjectURL(a.response);
|
|
176
|
+
const u = new m.VideoTexture(n);
|
|
177
|
+
u.minFilter = m.LinearFilter, u.magFilter = m.LinearFilter, u.format = m.RGBFormat, o(Object.assign(u, { videoSource: t }));
|
|
226
178
|
} else
|
|
227
|
-
|
|
228
|
-
}, a.onerror = (
|
|
179
|
+
d(new Error("Video download Error: " + a.status));
|
|
180
|
+
}, a.onerror = (c) => d(c), a.open("GET", t), a.responseType = "blob", a.send();
|
|
229
181
|
});
|
|
230
182
|
}, L = (t, i) => R(void 0, null, function* () {
|
|
231
|
-
const { video_src: n, video_poster_src: o, points:
|
|
232
|
-
e.videoSource = n, e.rectPoints = S(
|
|
183
|
+
const { video_src: n, video_poster_src: o, points: d } = t;
|
|
184
|
+
e.videoSource = n, e.rectPoints = S(d).map((a) => a.map(({ x: c, y: u, z: p }) => new m.Vector3(c, u, p))), e.imageTexture = F(o), i && (e.videoElement = i), e.videoTexture = yield P(e.videoSource, e.videoElement), e.enabled = !!t.enable, e.enabled && h();
|
|
233
185
|
}), E = (t) => {
|
|
234
186
|
if (!e.enabled)
|
|
235
187
|
return;
|
|
@@ -243,20 +195,20 @@ const Ct = (s, { videoElement: g }) => {
|
|
|
243
195
|
return;
|
|
244
196
|
const t = s.camera.position;
|
|
245
197
|
if (v.forEach((i, n) => {
|
|
246
|
-
const o = i.css3DObject.position.clone(),
|
|
247
|
-
|
|
198
|
+
const o = i.css3DObject.position.clone(), d = o.clone().sub(t).normalize(), a = new m.Raycaster(t, d), c = s.model.intersectRaycaster(a)[0], u = o.distanceTo(t), p = 0.01;
|
|
199
|
+
c && c.distance + p < u ? i.hide() : i.show();
|
|
248
200
|
}), !w()) {
|
|
249
201
|
const i = e.rectPoints.find((n) => {
|
|
250
202
|
const o = n[0].clone().add(n[1]).add(n[2]).add(n[3]).divideScalar(4);
|
|
251
|
-
return n.map((
|
|
252
|
-
const a =
|
|
253
|
-
return !(
|
|
203
|
+
return n.map((d) => d.clone().add(o).divideScalar(2)).filter((d) => {
|
|
204
|
+
const a = d.distanceTo(t), c = new m.Raycaster(t, d.clone().sub(t).normalize()), u = s.model.intersectRaycaster(c)[0], p = 0.01;
|
|
205
|
+
return !(u && u.distance + p < a);
|
|
254
206
|
}).length >= 2;
|
|
255
207
|
});
|
|
256
208
|
(!i || i.length === 0) && b(!0);
|
|
257
209
|
}
|
|
258
210
|
}, V = () => {
|
|
259
|
-
|
|
211
|
+
l(), e.videoTexture = void 0, s.off("modeChange", M), s.off("wantsTapGesture", E), s.off("panoArrived", A), s.off("renderFrame", () => {
|
|
260
212
|
e.videoMeshes.forEach((t) => {
|
|
261
213
|
t && (t.needsRender = !0);
|
|
262
214
|
});
|
|
@@ -266,9 +218,9 @@ const Ct = (s, { videoElement: g }) => {
|
|
|
266
218
|
e.videoMeshes.forEach((t) => {
|
|
267
219
|
t && (t.needsRender = !0);
|
|
268
220
|
});
|
|
269
|
-
}), { enable: h, disable:
|
|
221
|
+
}), { enable: h, disable: l, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
270
222
|
};
|
|
271
223
|
export {
|
|
272
|
-
|
|
273
|
-
|
|
224
|
+
$e as ModelTVVideoPlugin,
|
|
225
|
+
$e as default
|
|
274
226
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as To } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -41,78 +41,30 @@ import "../Sculpt/Meshes/Line.js";
|
|
|
41
41
|
import "../Sculpt/typings/style.js";
|
|
42
42
|
import "../shared-utils/five/FiveLine.js";
|
|
43
43
|
import "@realsee/five/line";
|
|
44
|
-
import "../
|
|
45
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
46
|
-
import "../vendor/three/build/three.module.js";
|
|
44
|
+
import "../shared-utils/isNil.js";
|
|
47
45
|
import "../shared-utils/three/IObject3D.js";
|
|
48
46
|
import "../Sculpt/utils/removeAllTag.js";
|
|
49
47
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
50
48
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
51
49
|
import "../shared-utils/util.js";
|
|
50
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
52
51
|
import "../shared-utils/three/core/Sphere.js";
|
|
53
52
|
import "animejs";
|
|
54
|
-
import "../shared-utils/isNil.js";
|
|
55
53
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
56
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
57
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
58
|
-
import "../shared-utils/three/earcut3D.js";
|
|
59
|
-
import "earcut";
|
|
60
|
-
import "../shared-utils/three/getNormal.js";
|
|
61
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
62
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
63
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
64
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
65
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
66
|
-
import "../base/BasePlugin.js";
|
|
67
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
68
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
69
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
70
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
71
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
72
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
73
|
-
import "../shared-utils/three/boundingBox.js";
|
|
74
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
75
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
76
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
77
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
78
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
79
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
80
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
81
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
82
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
83
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
84
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
85
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
86
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
87
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
88
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
89
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
90
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
91
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
92
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
93
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
94
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
95
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
96
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
97
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
98
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
99
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
100
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
101
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
102
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
103
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
104
|
-
import "../shared-utils/isTouchDevice.js";
|
|
105
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
106
54
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
55
|
+
import "../shared-utils/isTouchDevice.js";
|
|
107
56
|
import "../shared-utils/five/getPosition.js";
|
|
108
57
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
109
58
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
110
59
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
111
60
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
112
61
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
62
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
63
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
64
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
113
65
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
114
66
|
export {
|
|
115
|
-
|
|
67
|
+
To as DIRECTION,
|
|
116
68
|
r as ModelTVVideoPlugin,
|
|
117
69
|
r as default
|
|
118
70
|
};
|
|
@@ -22,15 +22,15 @@ export type AddObject3DHelperConfig = {
|
|
|
22
22
|
*/
|
|
23
23
|
offset?: HelperOffset;
|
|
24
24
|
/**
|
|
25
|
-
* @description 辅助坐标轴的y
|
|
25
|
+
* @description 辅助坐标轴的y轴方向(绿色)
|
|
26
26
|
*/
|
|
27
27
|
yAxis?: THREE.Vector3;
|
|
28
28
|
/**
|
|
29
|
-
* @description 辅助坐标轴的x
|
|
29
|
+
* @description 辅助坐标轴的x轴方向(红色)
|
|
30
30
|
*/
|
|
31
31
|
xAxis?: THREE.Vector3;
|
|
32
32
|
/**
|
|
33
|
-
* @description 辅助坐标轴的z
|
|
33
|
+
* @description 辅助坐标轴的z轴方向(蓝色)
|
|
34
34
|
*/
|
|
35
35
|
zAxis?: THREE.Vector3;
|
|
36
36
|
/**
|
|
@@ -38,15 +38,15 @@ export type AddObject3DHelperConfig = {
|
|
|
38
38
|
*/
|
|
39
39
|
moveHelper?: HelperConfig<{
|
|
40
40
|
/**
|
|
41
|
-
* @description 是否开启X
|
|
41
|
+
* @description 是否开启X轴位移功能(红色)
|
|
42
42
|
*/
|
|
43
43
|
xArrowEnable?: boolean;
|
|
44
44
|
/**
|
|
45
|
-
* @description 是否开启Y
|
|
45
|
+
* @description 是否开启Y轴位移功能(绿色)
|
|
46
46
|
*/
|
|
47
47
|
yArrowEnable?: boolean;
|
|
48
48
|
/**
|
|
49
|
-
* @description 是否开启Z
|
|
49
|
+
* @description 是否开启Z轴位移功能(蓝色)
|
|
50
50
|
*/
|
|
51
51
|
zArrowEnable?: boolean;
|
|
52
52
|
}>;
|
|
@@ -55,15 +55,15 @@ export type AddObject3DHelperConfig = {
|
|
|
55
55
|
*/
|
|
56
56
|
rotateHelper?: HelperConfig<{
|
|
57
57
|
/**
|
|
58
|
-
* @description 是否开启X
|
|
58
|
+
* @description 是否开启X轴旋转功能(红色)
|
|
59
59
|
*/
|
|
60
60
|
yzCircleEnable?: boolean;
|
|
61
61
|
/**
|
|
62
|
-
* @description 是否开启Y
|
|
62
|
+
* @description 是否开启Y轴旋转功能(绿色)
|
|
63
63
|
*/
|
|
64
64
|
xzCircleEnable?: boolean;
|
|
65
65
|
/**
|
|
66
|
-
* @description 是否开启Z
|
|
66
|
+
* @description 是否开启Z轴旋转功能(蓝色)
|
|
67
67
|
*/
|
|
68
68
|
xyCircleEnable?: boolean;
|
|
69
69
|
/**
|