@realsee/dnalogel 2.2.7 → 2.3.1
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/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
- package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
- package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/dist/index.cjs.js +46 -46
- package/dist/index.js +5013 -4842
- package/dist/index.umd.js +39 -39
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/docs/assets/highlight.css +7 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +533 -0
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -5
- package/docs/functions/CameraMovementPlugin.html +6 -5
- package/docs/functions/CruisePlugin.html +6 -5
- package/docs/functions/GuideLinePlugin.html +7 -6
- package/docs/functions/ItemLabelPlugin.html +6 -5
- package/docs/functions/MapviewFloorplanPlugin.html +6 -5
- package/docs/functions/ModelChassisCompassPlugin.html +6 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
- package/docs/functions/ModelFloorplanPlugin.html +6 -5
- package/docs/functions/ModelItemLabelPlugin.html +6 -5
- package/docs/functions/ModelRoomLabelPlugin.html +6 -5
- package/docs/functions/ModelTVVideoPlugin.html +6 -5
- package/docs/functions/ModelViewPlugin.html +6 -5
- package/docs/functions/Object3DHelperPlugin.html +6 -5
- package/docs/functions/PanoCompassPlugin.html +6 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
- package/docs/functions/PanoDoorLabelPlugin.html +6 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
- package/docs/functions/PanoMeasurePlugin.html +6 -5
- package/docs/functions/PanoRulerPlugin.html +6 -5
- package/docs/functions/PanoRulerProPlugin.html +6 -5
- package/docs/functions/PanoSpatialTagPlugin.html +6 -5
- package/docs/functions/PanoTagPlugin.html +6 -5
- package/docs/functions/TopviewFloorplanPlugin.html +6 -5
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +7 -6
- package/docs/index.html +6 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +7 -6
- package/docs/interfaces/Rooms.html +7 -6
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +7 -5
- package/docs/types/ArrayPosition.html +7 -6
- package/docs/types/CSS3DRenderExportType.html +8 -7
- package/docs/types/CSS3DRenderPluginExportType.html +7 -6
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
- package/docs/types/Color.html +7 -6
- package/docs/types/ContentTypeConfigKey.html +7 -6
- package/docs/types/ContentTypeConfigKeyArray.html +7 -6
- package/docs/types/Create3DDomContainerReturnType.html +7 -6
- package/docs/types/Create3DElementReturnType.html +8 -7
- package/docs/types/CruisePluginExportType.html +7 -6
- package/docs/types/Direction-1.html +7 -6
- package/docs/types/Direction4.html +7 -6
- package/docs/types/FloorplanRuleLabels.html +7 -6
- package/docs/types/FloorplanServerRuleLabels.html +7 -6
- package/docs/types/GuideLinePluginExportType.html +7 -6
- package/docs/types/HelperEventMap.html +7 -6
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
- package/docs/types/MediaData.html +7 -6
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
- package/docs/types/MoveArgs.html +7 -6
- package/docs/types/MoveOpts.html +7 -6
- package/docs/types/Object3DHelperEventMap.html +7 -6
- package/docs/types/ObjectFit.html +7 -6
- package/docs/types/PaintBrushEventMap.html +7 -6
- package/docs/types/PanoCompassPluginData.html +7 -6
- package/docs/types/PanoCompassPluginExportType.html +7 -6
- package/docs/types/PanoCompassPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
- package/docs/types/PanoMeasurePluginEvent.html +7 -6
- package/docs/types/PanoMeasureReturnType.html +7 -6
- package/docs/types/PanoSpatialTagPluginId.html +7 -6
- package/docs/types/PanoTagPluginExportInterface.html +7 -6
- package/docs/types/PanoTagPluginParamsInterface.html +7 -6
- package/docs/types/PlaneTag.html +7 -6
- package/docs/types/PointTag.html +7 -6
- package/docs/types/Position.html +7 -6
- package/docs/types/RotateArgs.html +7 -6
- package/docs/types/RotateOpts.html +7 -6
- package/docs/types/RuleLabelsKey.html +7 -6
- package/docs/types/RuleLabelsValue.html +7 -6
- package/docs/types/Tag.html +7 -6
- package/docs/types/Tag2D.html +7 -6
- package/docs/types/Tag3D.html +7 -6
- package/docs/types/TagId.html +7 -6
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
- package/docs/variables/PLUGIN.html +7 -6
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
- package/docs/variables/ROOM_TYPE_MAP.html +7 -6
- package/docs/variables/VERSION.html +7 -6
- package/docs/variables/itemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +197 -256
- package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +59 -62
- package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/index.js +17 -8
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
- package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +30 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +53 -0
- package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +115 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
- package/libs/CruisePlugin/Controller.js +16 -16
- package/libs/ModelTVVideoPlugin/Plugin.js +60 -52
- package/libs/ModelTVVideoPlugin/index.js +15 -7
- package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/libs/Object3DHelperPlugin/Controller.js +103 -83
- package/libs/Object3DHelperPlugin/index.js +20 -12
- package/libs/PanoCompassPlugin/Controller.js +49 -41
- package/libs/PanoCompassPlugin/index.js +13 -5
- package/libs/PanoSpatialTagPlugin/Plugin.js +46 -38
- package/libs/PanoSpatialTagPlugin/index.js +13 -5
- package/libs/PanoTagPlugin/index.js +21 -13
- package/libs/index.js +102 -93
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
- package/libs/shared-utils/three/index.js +2 -1
- package/package.json +15 -14
- package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -66
- package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var i = Object.defineProperty;
|
|
2
|
+
var a = (n, r, e) => r in n ? i(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
|
|
3
|
+
var d = (n, r, e) => (a(n, typeof r != "symbol" ? r + "" : r, e), e);
|
|
4
|
+
import * as c from "three";
|
|
5
|
+
import { getAllCSS3DObject as o } from "../getAllCSS3DObject.js";
|
|
6
|
+
class m extends c.Scene {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
}
|
|
10
|
+
add(...r) {
|
|
11
|
+
return super.add(...r), o(...r).forEach((e) => {
|
|
12
|
+
e.mode = "front";
|
|
13
|
+
}), this;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
class p extends c.Scene {
|
|
17
|
+
constructor(e) {
|
|
18
|
+
super();
|
|
19
|
+
d(this, "scene");
|
|
20
|
+
if (!e)
|
|
21
|
+
throw new Error("CSS3DBehindScene: scene is required");
|
|
22
|
+
this.scene = e;
|
|
23
|
+
}
|
|
24
|
+
add(...e) {
|
|
25
|
+
return super.add(...e), o(...e).forEach((t) => {
|
|
26
|
+
t.mode = "behind", this.scene.add(t.getOpacityMesh());
|
|
27
|
+
}), this;
|
|
28
|
+
}
|
|
29
|
+
remove(...e) {
|
|
30
|
+
return o(...e).forEach((t) => {
|
|
31
|
+
var s;
|
|
32
|
+
(s = t.opacityMesh) == null || s.removeFromParent();
|
|
33
|
+
}), super.remove(...e), this;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
p as CSS3DBehindScene,
|
|
38
|
+
m as CSS3DFrontScene
|
|
39
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var c = Object.defineProperty;
|
|
2
|
+
var m = (r, t, e) => t in r ? c(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
|
+
var o = (r, t, e) => (m(r, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import * as s from "three";
|
|
5
|
+
class p extends s.Mesh {
|
|
6
|
+
constructor(e, a) {
|
|
7
|
+
const n = new s.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: s.DoubleSide }), i = new s.PlaneGeometry(e, a);
|
|
8
|
+
super(i, n);
|
|
9
|
+
o(this, "name", "opacity-mesh");
|
|
10
|
+
}
|
|
11
|
+
removeFromParent() {
|
|
12
|
+
const e = this.parent;
|
|
13
|
+
return e !== null && e.remove(this), this;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
p as OpecityMesh
|
|
18
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var t = (o, n, e) => new Promise((c, l) => {
|
|
2
|
+
var i = (d) => {
|
|
3
|
+
try {
|
|
4
|
+
r(e.next(d));
|
|
5
|
+
} catch (a) {
|
|
6
|
+
l(a);
|
|
7
|
+
}
|
|
8
|
+
}, m = (d) => {
|
|
9
|
+
try {
|
|
10
|
+
r(e.throw(d));
|
|
11
|
+
} catch (a) {
|
|
12
|
+
l(a);
|
|
13
|
+
}
|
|
14
|
+
}, r = (d) => d.done ? c(d.value) : Promise.resolve(d.value).then(i, m);
|
|
15
|
+
r((e = e.apply(o, n)).next());
|
|
16
|
+
});
|
|
17
|
+
function f(o) {
|
|
18
|
+
return t(this, null, function* () {
|
|
19
|
+
return new Promise((n) => {
|
|
20
|
+
var e;
|
|
21
|
+
if ((e = o.model) != null && e.loaded) {
|
|
22
|
+
n();
|
|
23
|
+
return;
|
|
24
|
+
} else
|
|
25
|
+
o.once("modelLoaded", () => n());
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
f as fiveModelLoaded
|
|
31
|
+
};
|
|
@@ -2,7 +2,7 @@ var G = Object.defineProperty, K = Object.defineProperties;
|
|
|
2
2
|
var U = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var E = Object.getOwnPropertySymbols;
|
|
4
4
|
var T = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var x = (v, c, e) => c in v ? G(v, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[c] = e,
|
|
5
|
+
var x = (v, c, e) => c in v ? G(v, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[c] = e, P = (v, c) => {
|
|
6
6
|
for (var e in c || (c = {}))
|
|
7
7
|
T.call(c, e) && x(v, e, c[e]);
|
|
8
8
|
if (E)
|
|
@@ -10,7 +10,7 @@ var x = (v, c, e) => c in v ? G(v, c, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
A.call(c, e) && x(v, e, c[e]);
|
|
11
11
|
return v;
|
|
12
12
|
}, L = (v, c) => K(v, U(c));
|
|
13
|
-
var
|
|
13
|
+
var S = (v, c, e) => (x(v, typeof c != "symbol" ? c + "" : c, e), e);
|
|
14
14
|
var g = (v, c, e) => new Promise((t, i) => {
|
|
15
15
|
var a = (s) => {
|
|
16
16
|
try {
|
|
@@ -57,7 +57,7 @@ const M = "v1.0.6", D = "CruisePlugin", w = `${D}@${M}`, ve = (v) => `${w}--${v}
|
|
|
57
57
|
class B extends O {
|
|
58
58
|
constructor(e, t) {
|
|
59
59
|
super(e, t);
|
|
60
|
-
|
|
60
|
+
S(this, "state", {
|
|
61
61
|
visible: !0,
|
|
62
62
|
enabled: !0,
|
|
63
63
|
disposed: !1,
|
|
@@ -72,9 +72,9 @@ class B extends O {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
S(this, "data");
|
|
76
|
+
S(this, "config");
|
|
77
|
+
S(this, "privateState", {
|
|
78
78
|
playing: !1,
|
|
79
79
|
currentPlayQueue: [],
|
|
80
80
|
currentPlayKeyframe: null,
|
|
@@ -82,7 +82,7 @@ class B extends O {
|
|
|
82
82
|
disposers: [],
|
|
83
83
|
modeChanging: !1
|
|
84
84
|
});
|
|
85
|
-
|
|
85
|
+
S(this, "GuideLine");
|
|
86
86
|
this.config = t, Object.assign(window, { [`__${D}_DEBUG__`]: this });
|
|
87
87
|
const i = this.setFiveLinearUpdateCamera.bind(this), a = this.setFiveOriginUpdateCamera.bind(this);
|
|
88
88
|
this.hooks.on("play", i), this.hooks.on("broke", a), this.hooks.on("end", a), this.hooks.on("pause", a), this.privateState.disposers.push(() => {
|
|
@@ -125,7 +125,7 @@ class B extends O {
|
|
|
125
125
|
this.state.playing && this.setState({ playing: !1 }, { userAction: a }), this.setState({ playing: !0 }, { userAction: a, playFromIndex: t, playFromId: i });
|
|
126
126
|
}
|
|
127
127
|
playFromStart(e) {
|
|
128
|
-
return this.playFrom(L(
|
|
128
|
+
return this.playFrom(L(P({}, e), { index: 0 }));
|
|
129
129
|
}
|
|
130
130
|
pause(e) {
|
|
131
131
|
this.setState({ playing: !1 }, e);
|
|
@@ -155,8 +155,8 @@ class B extends O {
|
|
|
155
155
|
return F();
|
|
156
156
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
157
157
|
return q();
|
|
158
|
-
const i =
|
|
159
|
-
this.state =
|
|
158
|
+
const i = P({}, this.state);
|
|
159
|
+
this.state = P(P({}, this.state), e), e.disposed !== void 0 && e.disposed !== i.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== i.visible && this.handleVisible(e.visible, t == null ? void 0 : t.userAction), e.enabled !== void 0 && e.enabled !== i.enabled && this.handleEnable(e.enabled, t == null ? void 0 : t.userAction), e.playing !== void 0 && e.playing !== i.playing && this.changePlayState(e.playing, t), e.speed !== void 0 && e.speed !== i.speed && this.changeSpeed(e.speed, t == null ? void 0 : t.userAction), _(i, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: (a = t == null ? void 0 : t.userAction) != null ? a : !0 });
|
|
160
160
|
}
|
|
161
161
|
formatData(e) {
|
|
162
162
|
return g(this, null, function* () {
|
|
@@ -171,7 +171,7 @@ class B extends O {
|
|
|
171
171
|
keyframes: i.keyframes.map((a, o) => {
|
|
172
172
|
var r;
|
|
173
173
|
const n = i.keyframes[o + 1], s = (() => !n || n.start === void 0 || a.end === void 0 ? 0 : n.start - a.end)();
|
|
174
|
-
return
|
|
174
|
+
return P({ id: (r = a.uuid) != null ? r : k(), moveIndex: o, stay: s, index: o }, a);
|
|
175
175
|
})
|
|
176
176
|
};
|
|
177
177
|
if (i.panoIndexList) {
|
|
@@ -192,9 +192,9 @@ class B extends O {
|
|
|
192
192
|
i.moveType === void 0 || i.moveType === "justMove" ? a.push({
|
|
193
193
|
moveIndex: r,
|
|
194
194
|
stay: i.stay,
|
|
195
|
-
data:
|
|
196
|
-
}) : i.moveType === "moveAndRotate" && (a.push({ moveIndex: r, stay: i.stay, data: { effect: "Move", panoIndex: s, moveEffect: o } }), d && a.push({ moveIndex: r, stay: i.stay, data:
|
|
197
|
-
}), { keyframesId: k(), keyframes: a.map((s, r) =>
|
|
195
|
+
data: P({ effect: "Move", panoIndex: s, moveEffect: o }, d != null ? d : {})
|
|
196
|
+
}) : i.moveType === "moveAndRotate" && (a.push({ moveIndex: r, stay: i.stay, data: { effect: "Move", panoIndex: s, moveEffect: o } }), d && a.push({ moveIndex: r, stay: i.stay, data: P({ effect: "Rotate", panoIndex: s }, d) }));
|
|
197
|
+
}), { keyframesId: k(), keyframes: a.map((s, r) => P({ id: k(), index: r }, s)) };
|
|
198
198
|
} else
|
|
199
199
|
throw new Error("format error: data no keyframes or no panoIndexList");
|
|
200
200
|
});
|
|
@@ -427,7 +427,7 @@ class B extends O {
|
|
|
427
427
|
}
|
|
428
428
|
changeMode(e, t) {
|
|
429
429
|
return g(this, null, function* () {
|
|
430
|
-
e.mode && e.mode !== this.five.currentMode && (this.privateState.modeChanging = !0,
|
|
430
|
+
e.mode && e.mode !== this.five.currentMode && (this.privateState.modeChanging = !0, yield this.five.changeMode(e.mode, e, t), this.privateState.modeChanging = !1);
|
|
431
431
|
});
|
|
432
432
|
}
|
|
433
433
|
forceInteruptUpdateCamera() {
|
|
@@ -488,7 +488,7 @@ class B extends O {
|
|
|
488
488
|
!this.privateState.fiveOriginGetProgress || (this.five.controller.cameraMotion.getProgress = this.privateState.fiveOriginGetProgress);
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
|
|
491
|
+
S(B, "PluginVersion", M);
|
|
492
492
|
export {
|
|
493
493
|
B as default,
|
|
494
494
|
ve as pluginFlag
|
|
@@ -20,13 +20,21 @@ import { CSS3DRenderPlugin as O } from "../CSS3DRenderPlugin/index.js";
|
|
|
20
20
|
import "./typings.js";
|
|
21
21
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
23
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
23
24
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
25
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
26
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
27
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
24
28
|
import "../shared-utils/Subscribe.js";
|
|
25
|
-
import "../CSS3DRenderPlugin/utils/evenNumber.js";
|
|
26
29
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
27
|
-
import "../CSS3DRenderPlugin/utils/
|
|
30
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
28
31
|
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
29
|
-
|
|
32
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
33
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
34
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
35
|
+
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
36
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
37
|
+
const te = (s, { videoElement: b }) => {
|
|
30
38
|
const e = {
|
|
31
39
|
videoMeshes: [],
|
|
32
40
|
videoTextureEnabled: !1,
|
|
@@ -39,17 +47,17 @@ const X = (s, { videoElement: b }) => {
|
|
|
39
47
|
}, E = () => e.videoTexture ? e.videoTexture.image.muted : !0, h = () => {
|
|
40
48
|
if (e.enabled || !e.videoTexture)
|
|
41
49
|
return;
|
|
42
|
-
e.enabled = !0, e.videoMeshes = y(), e.videoMeshes.forEach((
|
|
50
|
+
e.enabled = !0, e.videoMeshes = y(), e.videoMeshes.forEach((o) => s.scene.add(o));
|
|
43
51
|
const t = () => {
|
|
44
52
|
if (!e.videoTexture)
|
|
45
53
|
return;
|
|
46
|
-
const
|
|
54
|
+
const o = () => {
|
|
47
55
|
var i;
|
|
48
|
-
!e.videoTexture || ((i = e.videoTexture) == null || i.image.removeEventListener("timeupdate",
|
|
49
|
-
|
|
56
|
+
!e.videoTexture || ((i = e.videoTexture) == null || i.image.removeEventListener("timeupdate", o), e.videoTextureEnabled = !0, e.videoMeshes.forEach((n) => {
|
|
57
|
+
n.material.map !== e.videoTexture && (n.material.map = e.videoTexture);
|
|
50
58
|
}), s.needsRender = !0);
|
|
51
59
|
};
|
|
52
|
-
e.videoTexture.image.addEventListener("timeupdate",
|
|
60
|
+
e.videoTexture.image.addEventListener("timeupdate", o), e.videoTexture && e.videoMeshes.length && (e.videoTexture.image.play(), e.videoTexture.image.onplay = () => {
|
|
53
61
|
m.hide();
|
|
54
62
|
}, e.videoTexture.image.onpause = () => {
|
|
55
63
|
m.show();
|
|
@@ -65,42 +73,42 @@ const X = (s, { videoElement: b }) => {
|
|
|
65
73
|
!e.enabled || (e.enabled = !1, e.videoMeshes.forEach((t) => {
|
|
66
74
|
t.geometry.dispose(), t.material.dispose(), s.scene.remove(t), e.videoTexture && e.videoTexture.image.pause();
|
|
67
75
|
}), e.videoMeshes = [], s.needsRender = !0);
|
|
68
|
-
}, y = () => e.rectPoints.map((t,
|
|
69
|
-
const i = new d.BufferGeometry(),
|
|
76
|
+
}, y = () => e.rectPoints.map((t, o) => {
|
|
77
|
+
const i = new d.BufferGeometry(), n = 128, a = [];
|
|
70
78
|
a.push(...t[0].toArray());
|
|
71
|
-
for (let r = 1; r <
|
|
79
|
+
for (let r = 1; r < n; r++)
|
|
72
80
|
a.push(
|
|
73
|
-
t[0].x + (t[1].x - t[0].x) * r /
|
|
74
|
-
t[0].y + (t[1].y - t[0].y) * r /
|
|
75
|
-
t[0].z + (t[1].z - t[0].z) * r /
|
|
81
|
+
t[0].x + (t[1].x - t[0].x) * r / n,
|
|
82
|
+
t[0].y + (t[1].y - t[0].y) * r / n,
|
|
83
|
+
t[0].z + (t[1].z - t[0].z) * r / n
|
|
76
84
|
);
|
|
77
85
|
a.push(...t[1].toArray()), a.push(...t[2].toArray());
|
|
78
|
-
for (let r = 1; r <
|
|
86
|
+
for (let r = 1; r < n; r++)
|
|
79
87
|
a.push(
|
|
80
|
-
t[2].x + (t[3].x - t[2].x) * r /
|
|
81
|
-
t[2].y + (t[3].y - t[2].y) * r /
|
|
82
|
-
t[2].z + (t[3].z - t[2].z) * r /
|
|
88
|
+
t[2].x + (t[3].x - t[2].x) * r / n,
|
|
89
|
+
t[2].y + (t[3].y - t[2].y) * r / n,
|
|
90
|
+
t[2].z + (t[3].z - t[2].z) * r / n
|
|
83
91
|
);
|
|
84
92
|
a.push(...t[3].toArray());
|
|
85
93
|
const c = [];
|
|
86
94
|
c.push(0, 1);
|
|
87
|
-
for (let r = 1; r <
|
|
88
|
-
c.push(0, 1 - r /
|
|
95
|
+
for (let r = 1; r < n; r++)
|
|
96
|
+
c.push(0, 1 - r / n);
|
|
89
97
|
c.push(0, 0), c.push(1, 0);
|
|
90
|
-
for (let r = 1; r <
|
|
91
|
-
c.push(1, r /
|
|
98
|
+
for (let r = 1; r < n; r++)
|
|
99
|
+
c.push(1, r / n);
|
|
92
100
|
c.push(1, 1);
|
|
93
101
|
const u = [];
|
|
94
|
-
for (let r = 0; r <
|
|
95
|
-
u.push(r, r + 1,
|
|
102
|
+
for (let r = 0; r < n; r++)
|
|
103
|
+
u.push(r, r + 1, n * 2 - r, r, n * 2 - r, n * 2 + 1 - r);
|
|
96
104
|
i.setAttribute("position", new d.BufferAttribute(new Float32Array(a), 3)), i.setAttribute("uv", new d.BufferAttribute(new Float32Array(c), 2)), i.setIndex(new d.BufferAttribute(new Uint32Array(u), 1));
|
|
97
|
-
const
|
|
98
|
-
s.scene.add(
|
|
99
|
-
const
|
|
105
|
+
const p = new d.AxesHelper(10);
|
|
106
|
+
s.scene.add(p);
|
|
107
|
+
const f = new d.MeshBasicMaterial({
|
|
100
108
|
map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
|
|
101
109
|
side: d.DoubleSide
|
|
102
|
-
}), v = new d.Mesh(i,
|
|
103
|
-
v.renderOrder = 1, v.name = `ModelTVVideoPlugin-${
|
|
110
|
+
}), v = new d.Mesh(i, f);
|
|
111
|
+
v.renderOrder = 1, v.name = `ModelTVVideoPlugin-${o}-${performance.now()}`;
|
|
104
112
|
const z = [t[1], t[2], t[3], t[0]], T = m.create3DDomContainer(z);
|
|
105
113
|
if (T != null && T.container) {
|
|
106
114
|
const r = document.createElement("div");
|
|
@@ -112,28 +120,28 @@ const X = (s, { videoElement: b }) => {
|
|
|
112
120
|
}
|
|
113
121
|
return v;
|
|
114
122
|
}), L = (t) => {
|
|
115
|
-
const
|
|
116
|
-
return
|
|
117
|
-
}, P = (t,
|
|
123
|
+
const o = new d.TextureLoader().load(t);
|
|
124
|
+
return o.minFilter = d.LinearFilter, o.magFilter = d.LinearFilter, o.format = d.RGBFormat, o;
|
|
125
|
+
}, P = (t, o) => new Promise((i, n) => {
|
|
118
126
|
const a = new XMLHttpRequest();
|
|
119
127
|
a.onreadystatechange = () => {
|
|
120
128
|
if (a.readyState == 4)
|
|
121
129
|
if (a.status == 200) {
|
|
122
130
|
const c = window.URL || window.webkitURL;
|
|
123
|
-
|
|
124
|
-
const u = new d.VideoTexture(
|
|
131
|
+
o = o || document.createElement("video"), o.crossOrigin = "anonymous", o.muted = !0, o.loop = !0, o.playsInline = !0, o.src = c.createObjectURL(a.response);
|
|
132
|
+
const u = new d.VideoTexture(o);
|
|
125
133
|
u.minFilter = d.LinearFilter, u.magFilter = d.LinearFilter, u.format = d.RGBFormat, i(Object.assign(u, { videoSource: t }));
|
|
126
134
|
} else
|
|
127
|
-
|
|
128
|
-
}, a.onerror = (c) =>
|
|
129
|
-
}), V = (t,
|
|
130
|
-
const { video_src: i, video_poster_src:
|
|
131
|
-
e.videoSource = i, e.rectPoints = I(a).map((c) => c.map(({ x: u, y:
|
|
135
|
+
n(new Error("Video download Error: " + a.status));
|
|
136
|
+
}, a.onerror = (c) => n(c), a.open("GET", t), a.responseType = "blob", a.send();
|
|
137
|
+
}), V = (t, o) => F(void 0, null, function* () {
|
|
138
|
+
const { video_src: i, video_poster_src: n, points: a } = t;
|
|
139
|
+
e.videoSource = i, e.rectPoints = I(a).map((c) => c.map(({ x: u, y: p, z: f }) => new d.Vector3(u, p, f))), e.imageTexture = L(n), o && (e.videoElement = o), e.videoTexture = yield P(e.videoSource, e.videoElement), e.enabled = !!t.enable, e.enabled && h();
|
|
132
140
|
}), M = (t) => {
|
|
133
141
|
if (!e.enabled)
|
|
134
142
|
return;
|
|
135
|
-
const
|
|
136
|
-
if (!(!
|
|
143
|
+
const o = e.videoMeshes;
|
|
144
|
+
if (!(!o || t.intersectObjects(o).length === 0))
|
|
137
145
|
return e.videoTexture && (e.videoTexture.image.paused || e.videoTexture.image.pause()), !1;
|
|
138
146
|
}, A = (t) => {
|
|
139
147
|
t === "Floorplan" ? m.hide() : m.show();
|
|
@@ -141,18 +149,18 @@ const X = (s, { videoElement: b }) => {
|
|
|
141
149
|
if (!e.enabled)
|
|
142
150
|
return;
|
|
143
151
|
const t = s.camera.position;
|
|
144
|
-
if (x.forEach((
|
|
145
|
-
const
|
|
146
|
-
u && u.distance +
|
|
152
|
+
if (x.forEach((o, i) => {
|
|
153
|
+
const n = o.css3DObject.position.clone(), a = n.clone().sub(t).normalize(), c = new d.Raycaster(t, a), u = s.model.intersectRaycaster(c)[0], p = n.distanceTo(t), f = 0.01;
|
|
154
|
+
u && u.distance + f < p ? o.hide() : o.show();
|
|
147
155
|
}), !E()) {
|
|
148
|
-
const
|
|
149
|
-
const
|
|
150
|
-
return i.map((a) => a.clone().add(
|
|
151
|
-
const c = a.distanceTo(t), u = new d.Raycaster(t, a.clone().sub(t).normalize()),
|
|
152
|
-
return !(
|
|
156
|
+
const o = e.rectPoints.find((i) => {
|
|
157
|
+
const n = i[0].clone().add(i[1]).add(i[2]).add(i[3]).divideScalar(4);
|
|
158
|
+
return i.map((a) => a.clone().add(n).divideScalar(2)).filter((a) => {
|
|
159
|
+
const c = a.distanceTo(t), u = new d.Raycaster(t, a.clone().sub(t).normalize()), p = s.model.intersectRaycaster(u)[0], f = 0.01;
|
|
160
|
+
return !(p && p.distance + f < c);
|
|
153
161
|
}).length >= 2;
|
|
154
162
|
});
|
|
155
|
-
(!
|
|
163
|
+
(!o || o.length === 0) && w(!0);
|
|
156
164
|
}
|
|
157
165
|
}, S = () => {
|
|
158
166
|
l(), e.videoTexture = void 0, s.off("modeChange", A), s.off("wantsTapGesture", M), s.off("panoArrived", R), s.off("renderFrame", () => {
|
|
@@ -168,6 +176,6 @@ const X = (s, { videoElement: b }) => {
|
|
|
168
176
|
}), { enable: h, disable: l, load: V, dispose: S, state: e, css3DRenderPlugin: m };
|
|
169
177
|
};
|
|
170
178
|
export {
|
|
171
|
-
|
|
172
|
-
|
|
179
|
+
te as ModelTVVideoPlugin,
|
|
180
|
+
te as default
|
|
173
181
|
};
|
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
import "./Plugin.js";
|
|
2
|
-
import { ModelTVVideoPlugin as
|
|
3
|
-
import { DIRECTION as
|
|
2
|
+
import { ModelTVVideoPlugin as E, ModelTVVideoPlugin as N } from "./Plugin.js";
|
|
3
|
+
import { DIRECTION as R } from "./typings.js";
|
|
4
4
|
import "three";
|
|
5
5
|
import "./utils/parseData.js";
|
|
6
6
|
import "../CSS3DRenderPlugin/index.js";
|
|
7
7
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
8
8
|
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
9
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
9
10
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
11
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
12
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
13
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
10
14
|
import "../shared-utils/Subscribe.js";
|
|
11
|
-
import "../CSS3DRenderPlugin/utils/evenNumber.js";
|
|
12
15
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
13
|
-
import "../CSS3DRenderPlugin/utils/
|
|
16
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
14
17
|
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
18
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
19
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
20
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
21
|
+
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
22
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
15
23
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
24
|
+
R as DIRECTION,
|
|
25
|
+
E as ModelTVVideoPlugin,
|
|
26
|
+
N as default
|
|
19
27
|
};
|
|
@@ -11,6 +11,8 @@ export declare class Object3DHelperController extends BasePlugin.Controller<Obje
|
|
|
11
11
|
name: string;
|
|
12
12
|
state: Object3DHelperState;
|
|
13
13
|
objectHelperMap: Map<THREE.Object3D, Object3DHelper>;
|
|
14
|
+
private css3DObjectParentMap;
|
|
15
|
+
private css3DRender;
|
|
14
16
|
constructor(five: Five);
|
|
15
17
|
/**
|
|
16
18
|
* @description Show guide line
|