@realsee/dnalogel 3.71.4 → 3.71.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +2 -0
- package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +8 -1
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +19 -1
- package/dist/index.cjs.js +127 -127
- package/dist/index.js +18098 -17913
- package/dist/index.umd.js +120 -120
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +18 -18
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/FloorplanGuidePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.blinkWithPreset.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.cleanup.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.replaceStaticPrefix.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/BoxAnimationConfig.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/SculptConfig.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconAnimationConfig.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.ObjectInitialState.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasureEndReason.html +1 -1
- package/docs/types/MeasurePluginConfig.html +2 -2
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +2 -2
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/Util.SupportedTarget.html +2 -2
- package/docs/types/Util.Target.html +2 -2
- package/docs/types/Util.ThreeObject.html +2 -2
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.ANIME_PRESETS.html +2 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/CruisePlugin/Move.js +121 -30
- package/libs/CruisePlugin/Work.js +265 -174
- package/libs/CruisePlugin/index.js +98 -7
- package/libs/GuideLinePlugin/Controller.js +127 -36
- package/libs/GuideLinePlugin/GuideLineItem.js +94 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +94 -3
- package/libs/GuideLinePlugin/index.js +98 -7
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +2 -0
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +193 -189
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +8 -1
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +253 -102
- package/libs/PanoTagPlugin/controller/index.js +143 -46
- package/libs/PanoTagPlugin/index.js +103 -12
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +19 -1
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +123 -69
- package/libs/Sculpt/Editors/RectangleMeshEditor.js +64 -38
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +59 -59
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +86 -60
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +40 -26
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +12 -11
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -2,16 +2,16 @@ var E = Object.defineProperty, U = Object.defineProperties;
|
|
|
2
2
|
var _ = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var b = Object.getOwnPropertySymbols;
|
|
4
4
|
var F = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var g = (
|
|
6
|
-
for (var e in
|
|
7
|
-
F.call(
|
|
5
|
+
var g = (h, p, e) => p in h ? E(h, p, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[p] = e, f = (h, p) => {
|
|
6
|
+
for (var e in p || (p = {}))
|
|
7
|
+
F.call(p, e) && g(h, e, p[e]);
|
|
8
8
|
if (b)
|
|
9
|
-
for (var e of b(
|
|
10
|
-
w.call(
|
|
11
|
-
return
|
|
12
|
-
}, c = (
|
|
13
|
-
var
|
|
14
|
-
var
|
|
9
|
+
for (var e of b(p))
|
|
10
|
+
w.call(p, e) && g(h, e, p[e]);
|
|
11
|
+
return h;
|
|
12
|
+
}, c = (h, p) => U(h, _(p));
|
|
13
|
+
var m = (h, p, e) => (g(h, typeof p != "symbol" ? p + "" : p, e), e);
|
|
14
|
+
var d = (h, p, e) => new Promise((t, i) => {
|
|
15
15
|
var o = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
s(e.next(r));
|
|
@@ -25,10 +25,10 @@ var l = (d, h, e) => new Promise((t, i) => {
|
|
|
25
25
|
i(a);
|
|
26
26
|
}
|
|
27
27
|
}, s = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(o, n);
|
|
28
|
-
s((e = e.apply(
|
|
28
|
+
s((e = e.apply(h, p)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as u from "three";
|
|
31
|
-
import { objectAssignDeepExports as
|
|
31
|
+
import { objectAssignDeepExports as l } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
32
|
import { arrayPositionToVector3 as v } from "../../shared-utils/positionToVector3.js";
|
|
33
33
|
import { isModelTag as k, isMediaModelTag as L } from "../utils/tag/tagCheck.js";
|
|
34
34
|
import { debounce as y } from "../utils/debounce.js";
|
|
@@ -220,6 +220,97 @@ import "../Components/Tag/PanoramaTag.js";
|
|
|
220
220
|
import "../Components/Common/Icon/PanoramaIcon.js";
|
|
221
221
|
import "../Components/Tag/CustomTag.js";
|
|
222
222
|
import "../../vendor/classnames/index.js";
|
|
223
|
+
import "../../Sculpt/index.js";
|
|
224
|
+
import "../../Sculpt/utils/Modules/Global.js";
|
|
225
|
+
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
226
|
+
import "../../Sculpt/utils/Modules/DeleteButtonBgBorder.js";
|
|
227
|
+
import "../../Sculpt/utils/Modules/DeleteIconSVG.js";
|
|
228
|
+
import "../../Object3DHelperPlugin/Controller.js";
|
|
229
|
+
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
230
|
+
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
231
|
+
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
232
|
+
import "../../shared-utils/three/boundingBox.js";
|
|
233
|
+
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
234
|
+
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
235
|
+
import "../../shared-utils/Object3DHelper/Constants/RenderOrder.js";
|
|
236
|
+
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
237
|
+
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
238
|
+
import "../../shared-utils/Object3DHelper/utils/getPoseFromCamera.js";
|
|
239
|
+
import "../../shared-utils/clamp.js";
|
|
240
|
+
import "../../shared-utils/Object3DHelper/utils/getOrthographicCameraDirection.js";
|
|
241
|
+
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
242
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
243
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
244
|
+
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
245
|
+
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
246
|
+
import "../../shared-utils/Object3DHelper/utils/cameraHooks.js";
|
|
247
|
+
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
248
|
+
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
249
|
+
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
250
|
+
import "../../shared-utils/Object3DHelper/utils/solidGuide.js";
|
|
251
|
+
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
252
|
+
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
253
|
+
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
254
|
+
import "../../shared-utils/Object3DHelper/index.js";
|
|
255
|
+
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
256
|
+
import "../../shared-utils/math/rad2Deg.js";
|
|
257
|
+
import "../../shared-utils/math/deg2Rad.js";
|
|
258
|
+
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
259
|
+
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
260
|
+
import "../../shared-utils/three/vectorIsEqual.js";
|
|
261
|
+
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
262
|
+
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
263
|
+
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
264
|
+
import "../../shared-utils/threex/domevents/index.js";
|
|
265
|
+
import "../../shared-utils/three/recurveFindObject.js";
|
|
266
|
+
import "../../Sculpt/Objects/Polyline/index.js";
|
|
267
|
+
import "../../Sculpt/Meshes/Polyline.js";
|
|
268
|
+
import "../../Sculpt/Meshes/LineWithDots.js";
|
|
269
|
+
import "../../Sculpt/Meshes/Point.js";
|
|
270
|
+
import "../../shared-utils/three/closeVectors.js";
|
|
271
|
+
import "../../Sculpt/Objects/Base/index.js";
|
|
272
|
+
import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
273
|
+
import "../../Sculpt/Objects/Polyline/Editor.js";
|
|
274
|
+
import "../../Sculpt/Objects/Line/Editor.js";
|
|
275
|
+
import "../../Sculpt/Objects/Base/Editor.js";
|
|
276
|
+
import "../../Sculpt/Objects/Point/index.js";
|
|
277
|
+
import "../../Sculpt/Objects/Point/Editor.js";
|
|
278
|
+
import "../../Sculpt/Objects/Polygon/index.js";
|
|
279
|
+
import "../../Sculpt/Meshes/Area.js";
|
|
280
|
+
import "../../Sculpt/Meshes/PolygonWithEdge.js";
|
|
281
|
+
import "../../Sculpt/Meshes/Polygon.js";
|
|
282
|
+
import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
283
|
+
import "../../shared-utils/three/earcut3D.js";
|
|
284
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
285
|
+
import "../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
286
|
+
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
287
|
+
import "../../shared-utils/three/geometryUtil.js";
|
|
288
|
+
import "../../Sculpt/Objects/Polygon/Editor.js";
|
|
289
|
+
import "../../Sculpt/Objects/Prism/index.js";
|
|
290
|
+
import "../../Sculpt/Meshes/Prism.js";
|
|
291
|
+
import "../../shared-utils/three/core/PrismGeometry.js";
|
|
292
|
+
import "../../shared-utils/three/core/polygonVertex.js";
|
|
293
|
+
import "../../shared-utils/three/core/PrismAnimationGeometry.js";
|
|
294
|
+
import "../../Sculpt/Editors/PrismMeshEditor.js";
|
|
295
|
+
import "../../Sculpt/Objects/Rectangle/index.js";
|
|
296
|
+
import "../../Sculpt/Editors/RectangleMeshEditor.js";
|
|
297
|
+
import "../../Sculpt/Meshes/Rectangle.js";
|
|
298
|
+
import "../../Sculpt/utils/three/RectangleGeometry.js";
|
|
299
|
+
import "../../Sculpt/Meshes/RectangleWithEdge.js";
|
|
300
|
+
import "../../Sculpt/utils/sortPositionsByCameraPosition.js";
|
|
301
|
+
import "../../Sculpt/Objects/Circle/index.js";
|
|
302
|
+
import "../../Sculpt/Editors/CircleMeshEditor.js";
|
|
303
|
+
import "../../Sculpt/Meshes/CircleWithEdge.js";
|
|
304
|
+
import "../../Sculpt/Meshes/Circle.js";
|
|
305
|
+
import "../../Sculpt/utils/radiusToSegments.js";
|
|
306
|
+
import "../../Sculpt/Objects/Cylinder/index.js";
|
|
307
|
+
import "../../Sculpt/Meshes/Cylinder.js";
|
|
308
|
+
import "../../Sculpt/Editors/CylinderMeshEditor.js";
|
|
309
|
+
import "../../Sculpt/Objects/Box/index.js";
|
|
310
|
+
import "../../Sculpt/Editors/BoxMeshEditor.js";
|
|
311
|
+
import "../../Sculpt/Meshes/Box.js";
|
|
312
|
+
import "../../shared-utils/forReverseEach.js";
|
|
313
|
+
import "../../Sculpt/Objects/Line/index.js";
|
|
223
314
|
import "../Components/TagItem.js";
|
|
224
315
|
import "../Components/Common/TagPoint.js";
|
|
225
316
|
import "../Components/Tag/AudioTag/AudioPoint.js";
|
|
@@ -236,23 +327,23 @@ import "../Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
|
236
327
|
import "../Components/Common/TagPopover/ArrowRightIcon.js";
|
|
237
328
|
import "../Components/Common/TagPopover/ShareIcon.js";
|
|
238
329
|
import "../utils/popoverContainer.js";
|
|
239
|
-
const D = "Dnalogel-PanoTagPlugin",
|
|
240
|
-
class
|
|
330
|
+
const D = "Dnalogel-PanoTagPlugin", Es = (h) => `${D}--${h}`;
|
|
331
|
+
class Us extends R {
|
|
241
332
|
constructor(e, t) {
|
|
242
333
|
super(e);
|
|
243
334
|
/** state */
|
|
244
|
-
|
|
335
|
+
m(this, "state", { enabled: !0, visible: !0 });
|
|
245
336
|
/** debug */
|
|
246
|
-
|
|
247
|
-
|
|
337
|
+
m(this, "debug");
|
|
338
|
+
m(this, "debugUtil", new j(this));
|
|
248
339
|
/** 全局 hover 启用状态,默认 true */
|
|
249
|
-
|
|
340
|
+
m(this, "globalHoverEnabled", !0);
|
|
250
341
|
/** 更改 tag 模型 */
|
|
251
|
-
|
|
342
|
+
m(this, "changeTagModel", (e, t) => d(this, null, function* () {
|
|
252
343
|
var i;
|
|
253
|
-
e.data =
|
|
344
|
+
e.data = l({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
|
|
254
345
|
}));
|
|
255
|
-
|
|
346
|
+
m(this, "handleFiveModeChange", (e) => {
|
|
256
347
|
const t = () => {
|
|
257
348
|
this.filter2DPointTag.forEach((i) => {
|
|
258
349
|
i.state.visible = !1, i.applyVisible();
|
|
@@ -264,7 +355,7 @@ class $o extends R {
|
|
|
264
355
|
};
|
|
265
356
|
this.tags.length < 500 ? t() : this.five.ready().then(() => t());
|
|
266
357
|
});
|
|
267
|
-
|
|
358
|
+
m(this, "handleFiveWantsMoveToPano", () => {
|
|
268
359
|
if (this.tags.length > 500) {
|
|
269
360
|
this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] });
|
|
270
361
|
return;
|
|
@@ -273,18 +364,18 @@ class $o extends R {
|
|
|
273
364
|
e.temporaryState.visible = !0;
|
|
274
365
|
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((e) => e.applyVisible());
|
|
275
366
|
});
|
|
276
|
-
|
|
367
|
+
m(this, "clickhandler", (e) => {
|
|
277
368
|
e.tag.onClick(e);
|
|
278
369
|
});
|
|
279
|
-
|
|
370
|
+
m(this, "handleFiveCameraUpdate", () => {
|
|
280
371
|
this.filterPointTag.forEach((e) => e.updateScreenPosition());
|
|
281
372
|
});
|
|
282
|
-
|
|
373
|
+
m(this, "handleFiveCameraFovUpdate", () => {
|
|
283
374
|
this.handleFiveCameraUpdate(), this.five.off("render.prepare", this.handleFiveCameraUpdate), this.five.on("render.prepare", this.handleFiveCameraUpdate), setTimeout(() => {
|
|
284
375
|
this.five.off("render.prepare", this.handleFiveCameraUpdate);
|
|
285
376
|
}, 1e3);
|
|
286
377
|
});
|
|
287
|
-
|
|
378
|
+
m(this, "handleFivePanoArrived", () => d(this, null, function* () {
|
|
288
379
|
this.filter2DPointTag.forEach((e) => {
|
|
289
380
|
e.state.visible = !1, e.applyVisible();
|
|
290
381
|
}), this.tagsDo(this.tags, (e) => {
|
|
@@ -307,16 +398,16 @@ class $o extends R {
|
|
|
307
398
|
});
|
|
308
399
|
}));
|
|
309
400
|
/** 楼层切换时,需要更新标签可见性 */
|
|
310
|
-
|
|
401
|
+
m(this, "handleFiveModelShownFloorChange", () => {
|
|
311
402
|
this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
312
403
|
});
|
|
313
|
-
|
|
404
|
+
m(this, "onFiveRefined", y(() => {
|
|
314
405
|
C(this.five.getCurrentState().mode) ? this.setUnfoldedByCamera() : this.tags.forEach((e) => e.cache.clear()), this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
315
406
|
}));
|
|
316
|
-
|
|
407
|
+
m(this, "onFiveEveryReady", () => {
|
|
317
408
|
this.setUnfoldedByCamera(), C(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
318
409
|
});
|
|
319
|
-
|
|
410
|
+
m(this, "render", () => {
|
|
320
411
|
this.renderQueue.forEach((e, t) => {
|
|
321
412
|
const { keys: i } = e;
|
|
322
413
|
if (t === "TagContainerSvelte") {
|
|
@@ -352,7 +443,7 @@ class $o extends R {
|
|
|
352
443
|
}
|
|
353
444
|
}), this.renderQueue.clear();
|
|
354
445
|
});
|
|
355
|
-
this.params =
|
|
446
|
+
this.params = l({}, { debug: !1, config: this.config }, f({}, t)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), G(1, { namespace: O.PlayAudio });
|
|
356
447
|
try {
|
|
357
448
|
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = D + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
|
|
358
449
|
get: function() {
|
|
@@ -372,7 +463,7 @@ class $o extends R {
|
|
|
372
463
|
* @description 加载数据
|
|
373
464
|
*/
|
|
374
465
|
load(e) {
|
|
375
|
-
return
|
|
466
|
+
return d(this, null, function* () {
|
|
376
467
|
var o, n;
|
|
377
468
|
this.clearTags();
|
|
378
469
|
try {
|
|
@@ -393,7 +484,7 @@ class $o extends R {
|
|
|
393
484
|
s.normal = P(a);
|
|
394
485
|
} catch (r) {
|
|
395
486
|
}
|
|
396
|
-
}), this.config =
|
|
487
|
+
}), this.config = l({}, this.config, {
|
|
397
488
|
globalConfig: (o = e.globalConfig) != null ? o : {},
|
|
398
489
|
contentTypeConfig: (n = e.contentTypeConfig) != null ? n : {}
|
|
399
490
|
});
|
|
@@ -405,7 +496,7 @@ class $o extends R {
|
|
|
405
496
|
* @description 添加标签
|
|
406
497
|
*/
|
|
407
498
|
addTag(e) {
|
|
408
|
-
return
|
|
499
|
+
return d(this, null, function* () {
|
|
409
500
|
const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
410
501
|
const n = B(o);
|
|
411
502
|
if (n === "2DPoint" || n === "3DPoint")
|
|
@@ -415,7 +506,7 @@ class $o extends R {
|
|
|
415
506
|
if (n === "Plane")
|
|
416
507
|
return new H(this, o);
|
|
417
508
|
});
|
|
418
|
-
return i.forEach((o) => M(o)), this.tags.push(...i), this.tagsLengthWillUpdate = !0, N(this.five).then(() =>
|
|
509
|
+
return i.forEach((o) => M(o)), this.tags.push(...i), this.tagsLengthWillUpdate = !0, N(this.five).then(() => d(this, null, function* () {
|
|
419
510
|
var o, n;
|
|
420
511
|
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (s) => {
|
|
421
512
|
this.tags.includes(s) && (s.updateVisible(), s.updateZIndex());
|
|
@@ -427,7 +518,7 @@ class $o extends R {
|
|
|
427
518
|
* @description 改变配置
|
|
428
519
|
*/
|
|
429
520
|
changeConfig(e, t = !0) {
|
|
430
|
-
t ? this.config =
|
|
521
|
+
t ? this.config = l({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
|
|
431
522
|
i.updateConfig();
|
|
432
523
|
}), this.tagsDo(this.tags, (i) => i.updateVisible());
|
|
433
524
|
}
|
|
@@ -435,7 +526,7 @@ class $o extends R {
|
|
|
435
526
|
* @description 改变全局配置
|
|
436
527
|
*/
|
|
437
528
|
changeGlobalConfig(e, t = !0) {
|
|
438
|
-
t ? this.config.globalConfig =
|
|
529
|
+
t ? this.config.globalConfig = l({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
|
|
439
530
|
i.updateConfig();
|
|
440
531
|
}), this.tagsDo(this.tags, (i) => {
|
|
441
532
|
i.updateVisible();
|
|
@@ -445,14 +536,14 @@ class $o extends R {
|
|
|
445
536
|
* @description 改变类型配置
|
|
446
537
|
*/
|
|
447
538
|
changeContentTypeConfig(e, t, i = !0) {
|
|
448
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] =
|
|
539
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = l({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
|
|
449
540
|
o.updateConfig();
|
|
450
541
|
}), this.tagsDo(this.tags, (o) => {
|
|
451
542
|
o.updateVisible();
|
|
452
543
|
});
|
|
453
544
|
}
|
|
454
545
|
show(e) {
|
|
455
|
-
return
|
|
546
|
+
return d(this, null, function* () {
|
|
456
547
|
if (this.checkDisposed())
|
|
457
548
|
return;
|
|
458
549
|
const { userAction: t = !0 } = e != null ? e : {};
|
|
@@ -460,7 +551,7 @@ class $o extends R {
|
|
|
460
551
|
});
|
|
461
552
|
}
|
|
462
553
|
hide(e) {
|
|
463
|
-
return
|
|
554
|
+
return d(this, null, function* () {
|
|
464
555
|
if (this.checkDisposed())
|
|
465
556
|
return;
|
|
466
557
|
const { userAction: t = !0 } = e != null ? e : {};
|
|
@@ -493,7 +584,10 @@ class $o extends R {
|
|
|
493
584
|
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
494
585
|
var a;
|
|
495
586
|
return (a = r.tag3DContentSvelte) == null ? void 0 : a.svelteApp.$destroy();
|
|
496
|
-
}), this.tags.forEach((r) =>
|
|
587
|
+
}), this.tags.forEach((r) => {
|
|
588
|
+
var a;
|
|
589
|
+
(a = r.rectanglePlane) == null || a.editor.disable(), r.cache.clear();
|
|
590
|
+
}), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (s = (n = this.store).resizeObserverDisposer) == null || s.call(n), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
|
|
497
591
|
}
|
|
498
592
|
/**
|
|
499
593
|
* @description 闪烁标签
|
|
@@ -501,7 +595,7 @@ class $o extends R {
|
|
|
501
595
|
* @param {Partial<anime.AnimeParams>} animeConfig
|
|
502
596
|
*/
|
|
503
597
|
blinkTagById(e, t) {
|
|
504
|
-
return
|
|
598
|
+
return d(this, null, function* () {
|
|
505
599
|
var i;
|
|
506
600
|
return (i = this.getTagById(e)) == null ? void 0 : i.blink(t);
|
|
507
601
|
});
|
|
@@ -590,7 +684,7 @@ class $o extends R {
|
|
|
590
684
|
* @description 设置 unfolded
|
|
591
685
|
*/
|
|
592
686
|
setUnfolded() {
|
|
593
|
-
return
|
|
687
|
+
return d(this, null, function* () {
|
|
594
688
|
return new Promise((e) => {
|
|
595
689
|
setTimeout(() => {
|
|
596
690
|
this.setUnfoldedByCamera(), e();
|
|
@@ -609,7 +703,10 @@ class $o extends R {
|
|
|
609
703
|
}
|
|
610
704
|
handleDisable() {
|
|
611
705
|
var e, t, i;
|
|
612
|
-
this.pauseCurrentMedia(), this.
|
|
706
|
+
this.pauseCurrentMedia(), this.tags.forEach((o) => {
|
|
707
|
+
var n;
|
|
708
|
+
return (n = o.rectanglePlane) == null ? void 0 : n.delete();
|
|
709
|
+
}), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.five.needsRender = !0;
|
|
613
710
|
}
|
|
614
711
|
addResizeListener() {
|
|
615
712
|
if (!this.store.resizeObserverDisposer && !this.store.resizeObserverDisposerAdding) {
|
|
@@ -704,7 +801,7 @@ class $o extends R {
|
|
|
704
801
|
}
|
|
705
802
|
}
|
|
706
803
|
export {
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
804
|
+
Us as PanoTagPluginController,
|
|
805
|
+
Us as default,
|
|
806
|
+
Es as pluginFlag
|
|
710
807
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as Ji } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Li } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Ni, DimensionType as Oi, PointType as Qi } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -191,6 +191,98 @@ import "./Components/Common/Icon/PanoramaIcon.js";
|
|
|
191
191
|
import "./Components/Tag/CustomTag.js";
|
|
192
192
|
import "../vendor/classnames/index.js";
|
|
193
193
|
import "./controller/Tag/PlaneTag.js";
|
|
194
|
+
import "../Sculpt/index.js";
|
|
195
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
196
|
+
import "../Sculpt/utils/Modules/Cursor.js";
|
|
197
|
+
import "../Sculpt/utils/Modules/DeleteButtonBgBorder.js";
|
|
198
|
+
import "../Sculpt/utils/Modules/DeleteIconSVG.js";
|
|
199
|
+
import "../Object3DHelperPlugin/Controller.js";
|
|
200
|
+
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
201
|
+
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
202
|
+
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
203
|
+
import "../shared-utils/three/boundingBox.js";
|
|
204
|
+
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
205
|
+
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
206
|
+
import "../shared-utils/Object3DHelper/Constants/RenderOrder.js";
|
|
207
|
+
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
208
|
+
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
209
|
+
import "../shared-utils/Object3DHelper/utils/getPoseFromCamera.js";
|
|
210
|
+
import "../shared-utils/clamp.js";
|
|
211
|
+
import "../shared-utils/Object3DHelper/utils/getOrthographicCameraDirection.js";
|
|
212
|
+
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
213
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
214
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
215
|
+
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
216
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
217
|
+
import "../shared-utils/Object3DHelper/utils/cameraHooks.js";
|
|
218
|
+
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
219
|
+
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
220
|
+
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
221
|
+
import "../shared-utils/Object3DHelper/utils/solidGuide.js";
|
|
222
|
+
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
223
|
+
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
224
|
+
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
225
|
+
import "../shared-utils/Object3DHelper/index.js";
|
|
226
|
+
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
227
|
+
import "../shared-utils/math/rad2Deg.js";
|
|
228
|
+
import "../shared-utils/math/deg2Rad.js";
|
|
229
|
+
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
230
|
+
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
231
|
+
import "../shared-utils/three/vectorIsEqual.js";
|
|
232
|
+
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
233
|
+
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
234
|
+
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
235
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
236
|
+
import "../shared-utils/three/recurveFindObject.js";
|
|
237
|
+
import "../Sculpt/Objects/Polyline/index.js";
|
|
238
|
+
import "../Sculpt/Meshes/Polyline.js";
|
|
239
|
+
import "../Sculpt/Meshes/LineWithDots.js";
|
|
240
|
+
import "../Sculpt/Meshes/Point.js";
|
|
241
|
+
import "../shared-utils/three/closeVectors.js";
|
|
242
|
+
import "../Sculpt/Objects/Base/index.js";
|
|
243
|
+
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
244
|
+
import "../Sculpt/Objects/Polyline/Editor.js";
|
|
245
|
+
import "../Sculpt/Objects/Line/Editor.js";
|
|
246
|
+
import "../Sculpt/Objects/Base/Editor.js";
|
|
247
|
+
import "../shared-utils/three/vector3ToArray.js";
|
|
248
|
+
import "../Sculpt/Objects/Point/index.js";
|
|
249
|
+
import "../Sculpt/Objects/Point/Editor.js";
|
|
250
|
+
import "../Sculpt/Objects/Polygon/index.js";
|
|
251
|
+
import "../Sculpt/Meshes/Area.js";
|
|
252
|
+
import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
253
|
+
import "../Sculpt/Meshes/Polygon.js";
|
|
254
|
+
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
255
|
+
import "../shared-utils/three/earcut3D.js";
|
|
256
|
+
import "../vendor/earcut/src/earcut.js";
|
|
257
|
+
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
258
|
+
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
259
|
+
import "../shared-utils/three/geometryUtil.js";
|
|
260
|
+
import "../Sculpt/Objects/Polygon/Editor.js";
|
|
261
|
+
import "../Sculpt/Objects/Prism/index.js";
|
|
262
|
+
import "../Sculpt/Meshes/Prism.js";
|
|
263
|
+
import "../shared-utils/three/core/PrismGeometry.js";
|
|
264
|
+
import "../shared-utils/three/core/polygonVertex.js";
|
|
265
|
+
import "../shared-utils/three/core/PrismAnimationGeometry.js";
|
|
266
|
+
import "../Sculpt/Editors/PrismMeshEditor.js";
|
|
267
|
+
import "../Sculpt/Objects/Rectangle/index.js";
|
|
268
|
+
import "../Sculpt/Editors/RectangleMeshEditor.js";
|
|
269
|
+
import "../Sculpt/Meshes/Rectangle.js";
|
|
270
|
+
import "../Sculpt/utils/three/RectangleGeometry.js";
|
|
271
|
+
import "../Sculpt/Meshes/RectangleWithEdge.js";
|
|
272
|
+
import "../Sculpt/utils/sortPositionsByCameraPosition.js";
|
|
273
|
+
import "../Sculpt/Objects/Circle/index.js";
|
|
274
|
+
import "../Sculpt/Editors/CircleMeshEditor.js";
|
|
275
|
+
import "../Sculpt/Meshes/CircleWithEdge.js";
|
|
276
|
+
import "../Sculpt/Meshes/Circle.js";
|
|
277
|
+
import "../Sculpt/utils/radiusToSegments.js";
|
|
278
|
+
import "../Sculpt/Objects/Cylinder/index.js";
|
|
279
|
+
import "../Sculpt/Meshes/Cylinder.js";
|
|
280
|
+
import "../Sculpt/Editors/CylinderMeshEditor.js";
|
|
281
|
+
import "../Sculpt/Objects/Box/index.js";
|
|
282
|
+
import "../Sculpt/Editors/BoxMeshEditor.js";
|
|
283
|
+
import "../Sculpt/Meshes/Box.js";
|
|
284
|
+
import "../shared-utils/forReverseEach.js";
|
|
285
|
+
import "../Sculpt/Objects/Line/index.js";
|
|
194
286
|
import "./Components/TagContainer.js";
|
|
195
287
|
import "./Components/TagItem.js";
|
|
196
288
|
import "./Components/Common/TagPoint.js";
|
|
@@ -208,16 +300,15 @@ import "./Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
|
208
300
|
import "./Components/Common/TagPopover/ArrowRightIcon.js";
|
|
209
301
|
import "./Components/Common/TagPopover/ShareIcon.js";
|
|
210
302
|
import "./utils/popoverContainer.js";
|
|
211
|
-
import "../shared-utils/three/vector3ToArray.js";
|
|
212
303
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
213
|
-
const
|
|
304
|
+
const Ei = (o, t) => new r(o, t);
|
|
214
305
|
export {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
306
|
+
Ni as ContentType,
|
|
307
|
+
Oi as DimensionType,
|
|
308
|
+
Ei as PanoTagPlugin,
|
|
218
309
|
r as PanoTagPluginController,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
310
|
+
Qi as PointType,
|
|
311
|
+
Ei as default,
|
|
312
|
+
Li as defaultGlobalConfig,
|
|
313
|
+
Ji as pluginFlag
|
|
223
314
|
};
|
|
@@ -14,22 +14,30 @@ type ImageTexture = Overwrite<THREE.Texture, {
|
|
|
14
14
|
declare abstract class MediaPlane extends THREE.Mesh<THREE.BufferGeometry | THREE.Geometry, THREE.MeshBasicMaterial> {
|
|
15
15
|
name: string;
|
|
16
16
|
src?: string;
|
|
17
|
+
objectFit: ObjectFit;
|
|
17
18
|
removeFromParent(): this;
|
|
18
19
|
dispose(): void;
|
|
19
20
|
}
|
|
20
21
|
declare class ImagePlane extends MediaPlane {
|
|
21
22
|
name: string;
|
|
23
|
+
originRatio?: number;
|
|
22
24
|
constructor(imageSrc: string, cornerPoints: Vector3[], params?: {
|
|
23
25
|
objectFit?: ObjectFit;
|
|
24
26
|
resolveZFighting?: boolean;
|
|
25
27
|
});
|
|
28
|
+
changePointsOrParams(props: {
|
|
29
|
+
cornerPoints: Vector3[];
|
|
30
|
+
params?: {
|
|
31
|
+
objectFit?: ObjectFit;
|
|
32
|
+
resolveZFighting?: boolean;
|
|
33
|
+
};
|
|
34
|
+
}): void;
|
|
26
35
|
}
|
|
27
36
|
declare class VideoPlane extends MediaPlane {
|
|
28
37
|
readonly isVideoPlane = true;
|
|
29
38
|
name: string;
|
|
30
39
|
videoInstance?: HTMLVideoElement;
|
|
31
40
|
onVideoReady?: (videoInstance?: HTMLVideoElement) => void;
|
|
32
|
-
private objectFit;
|
|
33
41
|
private buttonSrc;
|
|
34
42
|
private videoCoverSrc?;
|
|
35
43
|
private domEvents?;
|
|
@@ -63,5 +71,15 @@ declare class VideoPlane extends MediaPlane {
|
|
|
63
71
|
private addButtonMesh;
|
|
64
72
|
private getImageTexture;
|
|
65
73
|
private getVideoTexture;
|
|
74
|
+
changePointsOrParams(props: {
|
|
75
|
+
cornerPoints: Vector3[];
|
|
76
|
+
params?: {
|
|
77
|
+
objectFit?: ObjectFit;
|
|
78
|
+
};
|
|
79
|
+
}): Promise<void>;
|
|
80
|
+
private updateAllMeshes;
|
|
81
|
+
private updateVideoMesh;
|
|
82
|
+
private updateCoverMesh;
|
|
83
|
+
private updateButtonMesh;
|
|
66
84
|
}
|
|
67
85
|
export { ImagePlane, VideoPlane };
|