@realsee/dnalogel 2.3.4 → 2.3.5-dev.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/utils/positionToVector3.d.ts +2 -2
- package/dist/ModelViewPlugin/Plugin.d.ts +8 -0
- package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
- package/dist/PanoTagPlugin/controller/index.d.ts +14 -12
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +12 -11
- package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
- package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/dist/index.cjs.js +51 -51
- package/dist/index.js +7181 -6289
- package/dist/index.umd.js +43 -43
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- 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 +196 -164
- 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 +75 -35
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +19 -15
- 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/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +19 -15
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +35 -13
- package/docs/functions/CameraMovementPlugin.html +35 -13
- package/docs/functions/CruisePlugin.html +35 -13
- package/docs/functions/GuideLinePlugin.html +36 -14
- package/docs/functions/ItemLabelPlugin.html +35 -13
- package/docs/functions/MapviewFloorplanPlugin.html +35 -13
- package/docs/functions/ModelChassisCompassPlugin.html +35 -13
- package/docs/functions/ModelEntryDoorGuidePlugin.html +35 -13
- package/docs/functions/ModelFloorplanPlugin.html +35 -13
- package/docs/functions/ModelItemLabelPlugin.html +35 -13
- package/docs/functions/ModelRoomLabelPlugin.html +35 -13
- package/docs/functions/ModelTVVideoPlugin.html +35 -13
- package/docs/functions/ModelViewPlugin.html +35 -13
- package/docs/functions/Object3DHelperPlugin.html +35 -13
- package/docs/functions/PanoCompassPlugin.html +35 -13
- package/docs/functions/PanoCursorRaycasterPlugin.html +35 -13
- package/docs/functions/PanoDoorLabelPlugin.html +35 -13
- package/docs/functions/PanoFloorplanRadarPlugin.html +35 -13
- package/docs/functions/PanoMeasurePlugin.html +35 -13
- package/docs/functions/PanoRulerPlugin.html +35 -13
- package/docs/functions/PanoRulerProPlugin.html +35 -13
- package/docs/functions/PanoSpatialTagPlugin.html +35 -13
- package/docs/functions/PanoTagPlugin.html +41 -23
- package/docs/functions/TopviewFloorplanPlugin.html +35 -13
- 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 +36 -14
- package/docs/index.html +35 -13
- package/docs/interfaces/AddTagConfig.html +64 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +298 -0
- 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/MinMax.html +71 -0
- 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 +57 -9
- 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 +36 -14
- 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 +36 -14
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +36 -14
- 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 +36 -14
- package/docs/interfaces/Rooms.html +36 -14
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +89 -0
- package/docs/interfaces/TagCache.html +92 -0
- package/docs/interfaces/TagConfig.html +15 -19
- package/docs/interfaces/TagIconUrl.html +91 -0
- package/docs/interfaces/Tags.html +14 -12
- package/docs/interfaces/TemporaryState.html +64 -0
- 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 +65 -21
- package/docs/types/ArrayPosition.html +37 -15
- package/docs/types/CSS3DRenderExportType.html +36 -14
- package/docs/types/CSS3DRenderPluginExportType.html +36 -14
- package/docs/types/CSS3DRenderPluginParameterType.html +36 -14
- package/docs/types/Color.html +36 -14
- package/docs/types/ContentTypeConfigKey.html +37 -15
- package/docs/types/ContentTypeMap.html +247 -0
- package/docs/types/Create3DDomContainerReturnType.html +36 -14
- package/docs/types/Create3DElementReturnType.html +36 -14
- package/docs/types/CruisePluginExportType.html +36 -14
- package/docs/types/Direction-1.html +36 -14
- package/docs/types/Direction4.html +36 -14
- package/docs/types/FloorplanRuleLabels.html +36 -14
- package/docs/types/FloorplanServerRuleLabels.html +36 -14
- package/docs/types/GuideLinePluginExportType.html +36 -14
- package/docs/types/HelperEventMap.html +36 -14
- package/docs/types/MapviewFloorplanPluginParameterType.html +36 -14
- package/docs/types/MapviewFloorplanPluginReturnType.html +36 -14
- package/docs/types/MediaData.html +36 -14
- package/docs/types/MediaStore.html +247 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +36 -14
- package/docs/types/ModelFloorplanPluginParameterType.html +36 -14
- package/docs/types/ModelFloorplanPluginReturnType.html +36 -14
- package/docs/types/ModelRoomLabelPluginParameters.html +36 -14
- package/docs/types/ModelRoomLabelPluginReturnType.html +36 -14
- package/docs/types/MoveArgs.html +36 -14
- package/docs/types/MoveOpts.html +36 -14
- package/docs/types/Object3DHelperEventMap.html +36 -14
- package/docs/types/ObjectFit.html +36 -14
- package/docs/types/PaintBrushEventMap.html +36 -14
- package/docs/types/PanoCompassPluginData.html +36 -14
- package/docs/types/PanoCompassPluginExportType.html +36 -14
- package/docs/types/PanoCompassPluginParameterType.html +36 -14
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +36 -14
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +36 -14
- package/docs/types/PanoIndex.html +247 -0
- package/docs/types/PanoMeasurePluginEvent.html +36 -14
- package/docs/types/PanoMeasureReturnType.html +36 -14
- package/docs/types/PanoSpatialTagPluginId.html +36 -14
- package/docs/types/PanoTagPluginExportInterface.html +36 -14
- package/docs/types/PanoTagPluginParamsInterface.html +36 -14
- package/docs/types/PlaneTag.html +39 -19
- package/docs/types/PlaneTagElement.html +252 -0
- package/docs/types/Point2DElement.html +252 -0
- package/docs/types/Point2DTag.html +254 -0
- package/docs/types/Point3DElement.html +252 -0
- package/docs/types/Point3DTag.html +254 -0
- package/docs/types/PointTag.html +39 -23
- package/docs/types/PointTagElement.html +252 -0
- package/docs/types/Position.html +36 -14
- package/docs/types/RotateArgs.html +36 -14
- package/docs/types/RotateOpts.html +36 -14
- package/docs/types/RuleLabelsKey.html +36 -14
- package/docs/types/RuleLabelsValue.html +36 -14
- package/docs/types/StickType.html +247 -0
- package/docs/types/Tag.html +40 -22
- package/docs/types/Tag2D.html +41 -20
- package/docs/types/Tag3D.html +41 -20
- package/docs/types/TagContentType.html +247 -0
- package/docs/types/TagDimensionType.html +247 -0
- package/docs/types/TagElement.html +254 -0
- package/docs/types/TagEvents.html +282 -0
- package/docs/types/TagHooks.html +247 -0
- package/docs/types/TagIconSize.html +250 -0
- package/docs/types/TagId.html +36 -14
- package/docs/types/TagPointType.html +250 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +36 -14
- package/docs/types/TopviewFloorplanPluginReturnType.html +36 -14
- package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +39 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +36 -14
- package/docs/variables/PLUGIN.html +36 -14
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +36 -14
- package/docs/variables/ROOM_TYPE_MAP.html +36 -14
- package/docs/variables/VERSION.html +36 -14
- package/docs/variables/itemLabelPluginServerParams.html +36 -14
- package/docs/variables/modelItemLabelPluginServerParams.html +36 -14
- package/docs/variables/modelRoomLabelPluginServerParams.html +36 -14
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -2
- package/libs/ModelViewPlugin/Plugin.d.ts +8 -0
- package/libs/ModelViewPlugin/Plugin.js +83 -73
- package/libs/Object3DHelperPlugin/Controller.js +36 -34
- package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
- package/libs/PanoTagPlugin/Components/Common/Audio.js +138 -133
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +173 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +32 -32
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +94 -59
- package/libs/PanoTagPlugin/Components/Common/Media.js +212 -194
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +109 -80
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +78 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +135 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +147 -0
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +209 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +204 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +98 -0
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +100 -130
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +49 -98
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +47 -44
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +98 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +122 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +98 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +130 -133
- package/libs/PanoTagPlugin/Components/TagContainer.js +89 -105
- package/libs/PanoTagPlugin/Components/TagItem.js +139 -0
- package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
- package/libs/PanoTagPlugin/controller/TagComputer.js +168 -151
- package/libs/PanoTagPlugin/controller/index.d.ts +14 -12
- package/libs/PanoTagPlugin/controller/index.js +128 -133
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +31 -20
- package/libs/PanoTagPlugin/tag.config.js +23 -16
- package/libs/PanoTagPlugin/typings/controller.d.ts +12 -11
- package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/libs/PanoTagPlugin/typings/tag/Tag.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
- package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/color.js +17 -0
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/getImageInfo.js +50 -0
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/format.js +17 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +10 -0
- package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
- package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
- package/libs/index.js +112 -101
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +17 -20
- package/libs/vendor/svelte/internal/index.js +381 -341
- package/package.json +3 -3
- package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/docs/enums/LinkType.html +0 -67
- package/docs/interfaces/ContentTypeMap.html +0 -212
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
- package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
- package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
- package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/libs/PanoTagPlugin/typings/tag.js +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.3.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.3.5-dev.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.3.5-dev.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.3.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.3.5-dev.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.3.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.3.5-dev.1</a></li>
|
|
16
16
|
<li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/a757b0e/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -41,21 +41,20 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.3.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.3.5-<wbr/>dev.1</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
47
47
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
48
48
|
<ul>
|
|
49
49
|
<li class="tsd-kind-enum"><a href="../enums/CameraMovementEffect.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Camera<wbr/>Movement<wbr/>Effect</a></li>
|
|
50
|
-
<li class="tsd-kind-enum"><a href="../enums/ContentType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Content<wbr/>Type</a></li>
|
|
50
|
+
<li class="deprecated tsd-kind-enum"><a href="../enums/ContentType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Content<wbr/>Type</a></li>
|
|
51
51
|
<li class="tsd-kind-enum"><a href="../enums/DIRECTION.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>DIRECTION</a></li>
|
|
52
52
|
<li class="tsd-kind-enum"><a href="../enums/DISPLAY_STRATEGY_TYPE.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>DISPLAY_<wbr/>STRATEGY_<wbr/>TYPE</a></li>
|
|
53
|
-
<li class="tsd-kind-enum"><a href="../enums/DimensionType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Dimension<wbr/>Type</a></li>
|
|
53
|
+
<li class="deprecated tsd-kind-enum"><a href="../enums/DimensionType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Dimension<wbr/>Type</a></li>
|
|
54
54
|
<li class="tsd-kind-enum"><a href="../enums/FLOOR_PLAN_ATTACHED_TO.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>FLOOR_<wbr/>PLAN_<wbr/>ATTACHED_<wbr/>TO</a></li>
|
|
55
55
|
<li class="tsd-kind-enum"><a href="../enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>ITEM_<wbr/>LABEL_<wbr/>PLUGIN_<wbr/>DISPLAY_<wbr/>STRATEGY_<wbr/>TYPE</a></li>
|
|
56
|
-
<li class="tsd-kind-enum"><a href="../enums/LinkType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Link<wbr/>Type</a></li>
|
|
57
56
|
<li class="tsd-kind-enum"><a href="../enums/PaintBrushTypeEnum.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Paint<wbr/>Brush<wbr/>Type<wbr/>Enum</a></li>
|
|
58
|
-
<li class="tsd-kind-enum"><a href="../enums/PointType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Point<wbr/>Type</a></li>
|
|
57
|
+
<li class="deprecated tsd-kind-enum"><a href="../enums/PointType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Point<wbr/>Type</a></li>
|
|
59
58
|
<li class="tsd-kind-enum"><a href="../enums/Rotation.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Rotation</a></li>
|
|
60
59
|
<li class="tsd-kind-class"><a href="../classes/CSS3DRender.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg>CSS3DRender</a></li>
|
|
61
60
|
<li class="tsd-kind-class"><a href="../classes/CruisePluginController.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Cruise<wbr/>Plugin<wbr/>Controller</a></li>
|
|
@@ -64,10 +63,11 @@
|
|
|
64
63
|
<li class="tsd-kind-class"><a href="../classes/Object3DHelperController.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Object3DHelper<wbr/>Controller</a></li>
|
|
65
64
|
<li class="tsd-kind-class"><a href="../classes/PaintBrush.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Paint<wbr/>Brush</a></li>
|
|
66
65
|
<li class="tsd-kind-class"><a href="../classes/PanoTagPluginController.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Controller</a></li>
|
|
67
|
-
<li class="tsd-kind-interface"><a href="../interfaces/
|
|
66
|
+
<li class="tsd-kind-interface"><a href="../interfaces/AddTagConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Add<wbr/>Tag<wbr/>Config</a></li>
|
|
67
|
+
<li class="tsd-kind-interface"><a href="../interfaces/CSS3DRenderPluginEventMap.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>CSS3DRender<wbr/>Plugin<wbr/>Event<wbr/>Map</a></li>
|
|
68
68
|
<li class="tsd-kind-interface"><a href="../interfaces/CSS3DRenderPluginState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>CSS3DRender<wbr/>Plugin<wbr/>State</a></li>
|
|
69
69
|
<li class="tsd-kind-interface"><a href="../interfaces/CameraMovementPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Camera<wbr/>Movement<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
70
|
-
<li class="tsd-kind-interface"><a href="../interfaces/
|
|
70
|
+
<li class="tsd-kind-interface"><a href="../interfaces/EventMap.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Event<wbr/>Map</a></li>
|
|
71
71
|
<li class="tsd-kind-interface"><a href="../interfaces/FloorplanBounding.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Floorplan<wbr/>Bounding</a></li>
|
|
72
72
|
<li class="tsd-kind-interface"><a href="../interfaces/FloorplanData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Floorplan<wbr/>Data</a></li>
|
|
73
73
|
<li class="tsd-kind-interface"><a href="../interfaces/FloorplanEntrance.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Floorplan<wbr/>Entrance</a></li>
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginExportReturnsType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Item<wbr/>Label<wbr/>Plugin<wbr/>Export<wbr/>Returns<wbr/>Type</a></li>
|
|
98
98
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginParametersType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Item<wbr/>Label<wbr/>Plugin<wbr/>Parameters<wbr/>Type</a></li>
|
|
99
99
|
<li class="tsd-kind-interface"><a href="../interfaces/LineJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Line<wbr/>Json</a></li>
|
|
100
|
+
<li class="tsd-kind-interface"><a href="../interfaces/MinMax.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Min<wbr/>Max</a></li>
|
|
100
101
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelChassisCompassPluginData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>Chassis<wbr/>Compass<wbr/>Plugin<wbr/>Data</a></li>
|
|
101
102
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelChassisCompassPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>Chassis<wbr/>Compass<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
102
103
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelChassisCompassPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>Chassis<wbr/>Compass<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
@@ -142,15 +143,19 @@
|
|
|
142
143
|
<li class="tsd-kind-interface"><a href="../interfaces/RoomRules.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Room<wbr/>Rules</a></li>
|
|
143
144
|
<li class="tsd-kind-interface"><a href="../interfaces/Rooms.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Rooms</a></li>
|
|
144
145
|
<li class="tsd-kind-interface"><a href="../interfaces/Scissor.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Scissor</a></li>
|
|
146
|
+
<li class="tsd-kind-interface"><a href="../interfaces/State.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>State</a></li>
|
|
147
|
+
<li class="tsd-kind-interface"><a href="../interfaces/TagCache.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Cache</a></li>
|
|
145
148
|
<li class="tsd-kind-interface"><a href="../interfaces/TagConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Config</a></li>
|
|
149
|
+
<li class="tsd-kind-interface"><a href="../interfaces/TagIconUrl.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Icon<wbr/>Url</a></li>
|
|
146
150
|
<li class="tsd-kind-interface"><a href="../interfaces/Tags.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tags</a></li>
|
|
151
|
+
<li class="tsd-kind-interface"><a href="../interfaces/TemporaryState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Temporary<wbr/>State</a></li>
|
|
147
152
|
<li class="tsd-kind-type-alias"><a href="../types/ArrayPosition.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Array<wbr/>Position</a></li>
|
|
148
153
|
<li class="tsd-kind-type-alias"><a href="../types/CSS3DRenderExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>CSS3DRender<wbr/>Export<wbr/>Type</a></li>
|
|
149
154
|
<li class="tsd-kind-type-alias"><a href="../types/CSS3DRenderPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>CSS3DRender<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
150
155
|
<li class="tsd-kind-type-alias"><a href="../types/CSS3DRenderPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>CSS3DRender<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
151
156
|
<li class="tsd-kind-type-alias"><a href="../types/Color.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Color</a></li>
|
|
152
157
|
<li class="tsd-kind-type-alias"><a href="../types/ContentTypeConfigKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Content<wbr/>Type<wbr/>Config<wbr/>Key</a></li>
|
|
153
|
-
<li class="tsd-kind-type-alias"><a href="../types/
|
|
158
|
+
<li class="tsd-kind-type-alias"><a href="../types/ContentTypeMap.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Content<wbr/>Type<wbr/>Map</a></li>
|
|
154
159
|
<li class="tsd-kind-type-alias"><a href="../types/Create3DDomContainerReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Create3DDom<wbr/>Container<wbr/>Return<wbr/>Type</a></li>
|
|
155
160
|
<li class="tsd-kind-type-alias"><a href="../types/Create3DElementReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Create3DElement<wbr/>Return<wbr/>Type</a></li>
|
|
156
161
|
<li class="tsd-kind-type-alias"><a href="../types/CruisePluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Cruise<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
@@ -163,6 +168,7 @@
|
|
|
163
168
|
<li class="tsd-kind-type-alias"><a href="../types/MapviewFloorplanPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Mapview<wbr/>Floorplan<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
164
169
|
<li class="tsd-kind-type-alias"><a href="../types/MapviewFloorplanPluginReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Mapview<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</a></li>
|
|
165
170
|
<li class="tsd-kind-type-alias"><a href="../types/MediaData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Media<wbr/>Data</a></li>
|
|
171
|
+
<li class="tsd-kind-type-alias"><a href="../types/MediaStore.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Media<wbr/>Store</a></li>
|
|
166
172
|
<li class="tsd-kind-type-alias"><a href="../types/ModelEntryDoorGuidePluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Model<wbr/>Entry<wbr/>Door<wbr/>Guide<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
167
173
|
<li class="tsd-kind-type-alias"><a href="../types/ModelFloorplanPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
168
174
|
<li class="tsd-kind-type-alias"><a href="../types/ModelFloorplanPluginReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</a></li>
|
|
@@ -178,24 +184,40 @@
|
|
|
178
184
|
<li class="tsd-kind-type-alias"><a href="../types/PanoCompassPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Compass<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
179
185
|
<li class="tsd-kind-type-alias"><a href="../types/PanoFloorplanRadarPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Floorplan<wbr/>Radar<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
180
186
|
<li class="tsd-kind-type-alias"><a href="../types/PanoFloorplanRadarPluginReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Floorplan<wbr/>Radar<wbr/>Plugin<wbr/>Return<wbr/>Type</a></li>
|
|
187
|
+
<li class="tsd-kind-type-alias"><a href="../types/PanoIndex.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Index</a></li>
|
|
181
188
|
<li class="tsd-kind-type-alias"><a href="../types/PanoMeasurePluginEvent.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Event</a></li>
|
|
182
189
|
<li class="tsd-kind-type-alias"><a href="../types/PanoMeasureReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Measure<wbr/>Return<wbr/>Type</a></li>
|
|
183
190
|
<li class="tsd-kind-type-alias"><a href="../types/PanoSpatialTagPluginId.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Spatial<wbr/>Tag<wbr/>Plugin<wbr/>Id</a></li>
|
|
184
191
|
<li class="tsd-kind-type-alias"><a href="../types/PanoTagPluginExportInterface.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Export<wbr/>Interface</a></li>
|
|
185
192
|
<li class="tsd-kind-type-alias"><a href="../types/PanoTagPluginParamsInterface.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Params<wbr/>Interface</a></li>
|
|
186
193
|
<li class="tsd-kind-type-alias"><a href="../types/PlaneTag.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Plane<wbr/>Tag</a></li>
|
|
194
|
+
<li class="tsd-kind-type-alias"><a href="../types/PlaneTagElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Plane<wbr/>Tag<wbr/>Element</a></li>
|
|
195
|
+
<li class="tsd-kind-type-alias"><a href="../types/Point2DElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Point2DElement</a></li>
|
|
196
|
+
<li class="tsd-kind-type-alias"><a href="../types/Point2DTag.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Point2DTag</a></li>
|
|
197
|
+
<li class="tsd-kind-type-alias"><a href="../types/Point3DElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Point3DElement</a></li>
|
|
198
|
+
<li class="tsd-kind-type-alias"><a href="../types/Point3DTag.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Point3DTag</a></li>
|
|
187
199
|
<li class="tsd-kind-type-alias"><a href="../types/PointTag.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Point<wbr/>Tag</a></li>
|
|
200
|
+
<li class="tsd-kind-type-alias"><a href="../types/PointTagElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Point<wbr/>Tag<wbr/>Element</a></li>
|
|
188
201
|
<li class="tsd-kind-type-alias"><a href="../types/Position.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Position</a></li>
|
|
189
202
|
<li class="tsd-kind-type-alias"><a href="../types/RotateArgs.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Rotate<wbr/>Args</a></li>
|
|
190
203
|
<li class="tsd-kind-type-alias"><a href="../types/RotateOpts.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Rotate<wbr/>Opts</a></li>
|
|
191
204
|
<li class="tsd-kind-type-alias"><a href="../types/RuleLabelsKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Rule<wbr/>Labels<wbr/>Key</a></li>
|
|
192
205
|
<li class="tsd-kind-type-alias"><a href="../types/RuleLabelsValue.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Rule<wbr/>Labels<wbr/>Value</a></li>
|
|
206
|
+
<li class="tsd-kind-type-alias"><a href="../types/StickType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Stick<wbr/>Type</a></li>
|
|
193
207
|
<li class="tsd-kind-type-alias"><a href="../types/Tag.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag</a></li>
|
|
194
|
-
<li class="tsd-kind-type-alias"><a href="../types/Tag2D.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag2D</a></li>
|
|
195
|
-
<li class="tsd-kind-type-alias"><a href="../types/Tag3D.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag3D</a></li>
|
|
208
|
+
<li class="deprecated tsd-kind-type-alias"><a href="../types/Tag2D.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag2D</a></li>
|
|
209
|
+
<li class="deprecated tsd-kind-type-alias"><a href="../types/Tag3D.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag3D</a></li>
|
|
210
|
+
<li class="tsd-kind-type-alias"><a href="../types/TagContentType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Content<wbr/>Type</a></li>
|
|
211
|
+
<li class="tsd-kind-type-alias"><a href="../types/TagDimensionType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Dimension<wbr/>Type</a></li>
|
|
212
|
+
<li class="tsd-kind-type-alias"><a href="../types/TagElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Element</a></li>
|
|
213
|
+
<li class="tsd-kind-type-alias"><a href="../types/TagEvents.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Events</a></li>
|
|
214
|
+
<li class="tsd-kind-type-alias"><a href="../types/TagHooks.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Hooks</a></li>
|
|
215
|
+
<li class="tsd-kind-type-alias"><a href="../types/TagIconSize.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Icon<wbr/>Size</a></li>
|
|
196
216
|
<li class="tsd-kind-type-alias"><a href="../types/TagId.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Id</a></li>
|
|
217
|
+
<li class="deprecated tsd-kind-type-alias"><a href="../types/TagPointType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Point<wbr/>Type</a></li>
|
|
197
218
|
<li class="tsd-kind-type-alias"><a href="../types/TopviewFloorplanPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Topview<wbr/>Floorplan<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
198
219
|
<li class="tsd-kind-type-alias"><a href="../types/TopviewFloorplanPluginReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Topview<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</a></li>
|
|
220
|
+
<li class="tsd-kind-type-alias"><a href="../types/WorkCode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Work<wbr/>Code</a></li>
|
|
199
221
|
<li class="tsd-kind-variable"><a href="FLOOR_TYPE_MAP.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>FLOOR_<wbr/>TYPE_<wbr/>MAP</a></li>
|
|
200
222
|
<li class="tsd-kind-variable"><a href="PLUGIN.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>PLUGIN</a></li>
|
|
201
223
|
<li class="tsd-kind-variable"><a href="ROOM_FETILE_TYPE_MAP.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>ROOM_<wbr/>FETILE_<wbr/>TYPE_<wbr/>MAP</a></li>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Vector3 } from 'three';
|
|
2
|
-
export declare type AnyPosition = Vector3 | [
|
|
2
|
+
export declare type AnyPosition = Vector3 | number[] | {
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
5
5
|
z: number;
|
|
@@ -9,5 +9,5 @@ export declare const positionToVector3: ({ x, y, z }: {
|
|
|
9
9
|
y: number;
|
|
10
10
|
z: number;
|
|
11
11
|
}) => Vector3;
|
|
12
|
-
export declare const arrayPositionToVector3: (
|
|
12
|
+
export declare const arrayPositionToVector3: (arrayPosition: number[]) => Vector3;
|
|
13
13
|
export declare const anyPositionToVector3: (position: AnyPosition) => Vector3;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Vector3 as
|
|
2
|
-
const n = ({ x: r, y:
|
|
1
|
+
import { Vector3 as e } from "three";
|
|
2
|
+
const n = ({ x: r, y: o, z: t }) => new e(r, o, t), c = (r) => new e().fromArray(r), s = (r) => r instanceof e ? r : Array.isArray(r) ? c(r) : n(r);
|
|
3
3
|
export {
|
|
4
4
|
s as anyPositionToVector3,
|
|
5
5
|
c as arrayPositionToVector3
|
|
@@ -7,6 +7,11 @@ export interface Config {
|
|
|
7
7
|
lockedLongitude: number | null;
|
|
8
8
|
}
|
|
9
9
|
export interface ModelViewPluginExportType {
|
|
10
|
+
enable: () => void;
|
|
11
|
+
disable: () => void;
|
|
12
|
+
getCurrentState: () => {
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
};
|
|
10
15
|
appendTo: (element: HTMLElement, size?: {
|
|
11
16
|
width?: number;
|
|
12
17
|
height?: number;
|
|
@@ -19,6 +24,9 @@ export interface ModelViewPluginExportType {
|
|
|
19
24
|
}
|
|
20
25
|
export interface ModelViewPluginParameterType {
|
|
21
26
|
config: Config;
|
|
27
|
+
initialState: {
|
|
28
|
+
enabled: boolean;
|
|
29
|
+
};
|
|
22
30
|
}
|
|
23
31
|
/**
|
|
24
32
|
* Five 模型插件
|
|
@@ -1,107 +1,117 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var
|
|
9
|
-
|
|
10
|
-
return
|
|
1
|
+
var T = Object.defineProperty;
|
|
2
|
+
var E = Object.getOwnPropertySymbols;
|
|
3
|
+
var U = Object.prototype.hasOwnProperty, V = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var N = (n, i, r) => i in n ? T(n, i, { enumerable: !0, configurable: !0, writable: !0, value: r }) : n[i] = r, y = (n, i) => {
|
|
5
|
+
for (var r in i || (i = {}))
|
|
6
|
+
U.call(i, r) && N(n, r, i[r]);
|
|
7
|
+
if (E)
|
|
8
|
+
for (var r of E(i))
|
|
9
|
+
V.call(i, r) && N(n, r, i[r]);
|
|
10
|
+
return n;
|
|
11
11
|
};
|
|
12
|
-
import { Camera as
|
|
13
|
-
import * as
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
import { Camera as H } from "@realsee/five";
|
|
13
|
+
import * as d from "three";
|
|
14
|
+
const J = (n, i) => {
|
|
15
|
+
var k, P;
|
|
16
|
+
let r = (P = (k = i == null ? void 0 : i.initialState) == null ? void 0 : k.enabled) != null ? P : !0, g = !1, h = !0, a = null;
|
|
17
|
+
const f = y(y({}, {
|
|
17
18
|
lookAtCurrentCamera: !1,
|
|
18
19
|
lockedPanoIndex: null,
|
|
19
20
|
lockedLatitude: null,
|
|
20
21
|
lockedLongitude: null
|
|
21
|
-
}), i == null ? void 0 : i.config),
|
|
22
|
-
let
|
|
22
|
+
}), i == null ? void 0 : i.config), s = new d.Scene(), m = new H(60);
|
|
23
|
+
let c = new d.Object3D(), b, M;
|
|
23
24
|
{
|
|
24
|
-
const e = new
|
|
25
|
-
e.position.copy(new
|
|
25
|
+
const e = new d.DirectionalLight(16777215, 0.5);
|
|
26
|
+
e.position.copy(new d.Vector3(1, 1, 1)), s.add(e);
|
|
26
27
|
}
|
|
27
28
|
{
|
|
28
|
-
const e = new
|
|
29
|
-
|
|
29
|
+
const e = new d.DirectionalLight(16777215, 0.3);
|
|
30
|
+
s.add(e);
|
|
30
31
|
}
|
|
31
32
|
{
|
|
32
|
-
const e = new
|
|
33
|
-
|
|
33
|
+
const e = new d.AmbientLight(16777215, 0.3);
|
|
34
|
+
s.add(e);
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
+
s.add(c);
|
|
36
37
|
const C = () => {
|
|
37
|
-
if (
|
|
38
|
-
return
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}), l.remove(m), m = new a.Object3D(), l.add(m), p();
|
|
43
|
-
}, k = () => {
|
|
44
|
-
h = E(o.model, f.fov, f.aspect), w = o.model.bounding.getCenter(new a.Vector3());
|
|
45
|
-
function e(n) {
|
|
46
|
-
const t = n.clone();
|
|
38
|
+
if (g)
|
|
39
|
+
return;
|
|
40
|
+
b = S(n.model, m.fov, m.aspect), M = n.model.bounding.getCenter(new d.Vector3()), s.remove(c), c = u(n.model), s.add(c), g = !0, p();
|
|
41
|
+
function e(o) {
|
|
42
|
+
const t = o.clone();
|
|
47
43
|
return t.uniforms.modelAlpha.value = 1, t.uniforms.map.value && (t.uniforms.map.value.needsUpdate = !0), t;
|
|
48
44
|
}
|
|
49
|
-
function
|
|
50
|
-
if (
|
|
51
|
-
const t =
|
|
52
|
-
return new
|
|
53
|
-
} else if (
|
|
54
|
-
const t = new
|
|
55
|
-
return
|
|
45
|
+
function u(o) {
|
|
46
|
+
if (o instanceof d.Mesh) {
|
|
47
|
+
const t = o.geometry, l = Array.isArray(o.material) ? o.material.map(e) : e(o.material);
|
|
48
|
+
return new d.Mesh(t, l);
|
|
49
|
+
} else if (o instanceof d.Group) {
|
|
50
|
+
const t = new d.Group();
|
|
51
|
+
return o.children.forEach((l) => t.add(u(l))), t;
|
|
56
52
|
} else {
|
|
57
|
-
const t = new
|
|
58
|
-
return
|
|
53
|
+
const t = new d.Object3D();
|
|
54
|
+
return o.children.forEach((l) => t.add(u(l))), t;
|
|
59
55
|
}
|
|
60
56
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
}, D = () => {
|
|
58
|
+
if (!!n.renderer)
|
|
59
|
+
return a || (a = new d.WebGLRenderer({ antialias: !1, alpha: !0 }), a.setPixelRatio(n.renderer.getPixelRatio()), a.outputEncoding = d.sRGBEncoding, a.setClearColor(1579548, 0), a.autoClear = !0), a;
|
|
60
|
+
}, R = () => {
|
|
61
|
+
c.traverse((e) => {
|
|
62
|
+
e instanceof d.Mesh && [].concat(e.material).forEach((o) => o.dispose());
|
|
63
|
+
}), s.remove(c), c = new d.Object3D(), s.add(c), g = !1, p();
|
|
64
|
+
}, j = () => {
|
|
65
|
+
!r || g || C();
|
|
66
|
+
}, A = () => {
|
|
67
|
+
r || (r = !0, s.add(c), !g && n.model.loaded && C(), p());
|
|
68
|
+
}, I = () => {
|
|
69
|
+
!r || (s.remove(c), h = !0, x(), r = !1);
|
|
70
|
+
}, O = (e, u = {}) => {
|
|
71
|
+
const o = D();
|
|
72
|
+
if (!o)
|
|
65
73
|
return;
|
|
66
|
-
e.appendChild(
|
|
74
|
+
e.appendChild(o.domElement), L(u);
|
|
67
75
|
const t = window.getComputedStyle(e).position;
|
|
68
76
|
t !== "relative" && t !== "absolute" && t !== "fixed" && t !== "sticky" && (e.style.position = "relative");
|
|
69
|
-
},
|
|
70
|
-
if (!
|
|
77
|
+
}, L = (e = {}) => {
|
|
78
|
+
if (!a)
|
|
71
79
|
return;
|
|
72
|
-
const
|
|
73
|
-
if (
|
|
74
|
-
const { width: t =
|
|
75
|
-
|
|
80
|
+
const o = a.domElement.parentNode;
|
|
81
|
+
if (o != null && o.nodeName) {
|
|
82
|
+
const { width: t = o.offsetWidth, height: l = o.offsetHeight } = e;
|
|
83
|
+
a.setSize(t, l), m.aspect = t / l, m.updateProjectionMatrix();
|
|
76
84
|
}
|
|
77
85
|
p();
|
|
78
86
|
};
|
|
79
|
-
function
|
|
80
|
-
const t = e.bounding,
|
|
87
|
+
function S(e, u, o) {
|
|
88
|
+
const t = e.bounding, l = Math.pow(
|
|
81
89
|
Math.pow(t.max.x - t.min.x + 1, 2) + Math.pow(t.max.y - t.min.y + 1, 2) + Math.pow(t.max.z - t.min.z + 1, 2),
|
|
82
90
|
1 / 2
|
|
83
91
|
);
|
|
84
|
-
let
|
|
85
|
-
return
|
|
92
|
+
let w = l / 2 / Math.tan(Math.PI * u / 360);
|
|
93
|
+
return o < 1 && (w = w / o), isNaN(w) ? l : w;
|
|
86
94
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
95
|
+
function W(e) {
|
|
96
|
+
return n.work.observers[e].standingPosition.clone();
|
|
89
97
|
}
|
|
90
98
|
const p = () => {
|
|
91
|
-
if (!
|
|
99
|
+
if (!r || !b || !M)
|
|
92
100
|
return;
|
|
93
|
-
const e =
|
|
94
|
-
e.fov =
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
Object.assign(
|
|
101
|
-
}
|
|
102
|
-
|
|
101
|
+
const e = n.getPose();
|
|
102
|
+
e.fov = m.fov, e.offset = M, e.distance = b, typeof f.lockedLatitude == "number" && (e.latitude = f.lockedLatitude), typeof f.lockedLongitude == "number" && (e.longitude = f.lockedLongitude), typeof f.lockedPanoIndex == "number" && (e.offset = W(f.lockedPanoIndex)), f.lookAtCurrentCamera && (e.offset = n.camera.position.clone().setY(n.camera.position.y + 1)), m.setFromPose(e), h = !0;
|
|
103
|
+
}, x = () => {
|
|
104
|
+
!r || h !== !0 || !a || !a.domElement.parentNode || a.domElement.parentNode.offsetWidth === 0 || (a.render(s, m), h = !1);
|
|
105
|
+
}, F = () => {
|
|
106
|
+
a && a.dispose(), a = null;
|
|
107
|
+
}, G = (e) => {
|
|
108
|
+
Object.assign(f, e), p();
|
|
109
|
+
}, z = () => ({
|
|
110
|
+
enabled: r
|
|
111
|
+
});
|
|
112
|
+
return Object.assign(window, { camera: m }), n.on("modelLoaded", j), n.on("modelWillLoad", R), n.on("cameraDirectionUpdate", p), n.on("dispose", F), n.on("renderFrame", x), n.on("cameraPositionUpdate", p), { appendTo: O, refresh: L, changeConfigs: G, enable: A, disable: I, getCurrentState: z };
|
|
103
113
|
};
|
|
104
114
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
115
|
+
J as ModelViewPlugin,
|
|
116
|
+
J as default
|
|
107
117
|
};
|