@realsee/dnalogel 3.2.0-dev.4 → 3.2.0-dev.6
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/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +3204 -3176
- package/dist/index.umd.js +44 -44
- package/dist/shared-utils/five/getFloorIndex.d.ts +2 -8
- package/dist/shared-utils/five/transformPosition.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/CruisePluginController.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/Magnifier.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +56 -29
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/AudioTagTypeConfigKey.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +6 -4
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/CruisePlugin/Controller.js +35 -34
- package/libs/CruisePlugin/index.js +6 -5
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/PanoTagPlugin/controller/TagComputer.js +69 -68
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +111 -93
- package/libs/PanoTagPlugin/controller/index.js +8 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
- package/libs/PanoTagPlugin/utils/tagPosition.js +15 -15
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +117 -116
- package/libs/shared-utils/five/getFloorIndex.d.ts +2 -8
- package/libs/shared-utils/five/getFloorIndex.js +16 -12
- package/libs/shared-utils/five/transformPosition.d.ts +2 -0
- package/libs/shared-utils/five/transformPosition.js +10 -0
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
13
13
|
import "./Components/Tag.js";
|
|
14
14
|
import "./utils/index.js";
|
|
15
15
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
-
import { GuideLineModeItem as
|
|
16
|
+
import { GuideLineModeItem as Wi } from "./GuideLineModeItem/index.js";
|
|
17
17
|
import "../vendor/polyline-normals/index.js";
|
|
18
18
|
import "../vendor/polyline-miter-util/index.js";
|
|
19
19
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -72,6 +72,7 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
72
72
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
73
73
|
import "../shared-utils/typescript/entries.js";
|
|
74
74
|
import "../shared-utils/url/getUrl.js";
|
|
75
|
+
import "../shared-utils/five/transformPosition.js";
|
|
75
76
|
import "../shared-utils/five/getFloorIndex.js";
|
|
76
77
|
import "../shared-utils/safeObj.js";
|
|
77
78
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -152,5 +153,5 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
152
153
|
import "@realsee/five/gltf-loader";
|
|
153
154
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
154
155
|
export {
|
|
155
|
-
|
|
156
|
+
Wi as GuideLineModeItem
|
|
156
157
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as lt } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as It } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -85,6 +85,7 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
85
85
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
86
86
|
import "../shared-utils/typescript/entries.js";
|
|
87
87
|
import "../shared-utils/url/getUrl.js";
|
|
88
|
+
import "../shared-utils/five/transformPosition.js";
|
|
88
89
|
import "../shared-utils/five/getFloorIndex.js";
|
|
89
90
|
import "../shared-utils/safeObj.js";
|
|
90
91
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -168,10 +169,10 @@ import "./utils/index.js";
|
|
|
168
169
|
import "../shared-utils/to.js";
|
|
169
170
|
import "../shared-utils/five/changeMode.js";
|
|
170
171
|
import "../shared-utils/nearlyEqual.js";
|
|
171
|
-
const
|
|
172
|
+
const Lt = (i, o) => new t(i, o);
|
|
172
173
|
export {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
lt as GuideLineItem,
|
|
175
|
+
It as GuideLineModeItem,
|
|
176
|
+
Lt as GuideLinePlugin,
|
|
177
|
+
Lt as default
|
|
177
178
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
var
|
|
1
|
+
var B = Object.defineProperty, E = Object.defineProperties;
|
|
2
2
|
var $ = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var C = Object.getOwnPropertySymbols;
|
|
4
|
+
var w = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var k = (m, e, i) => e in m ? B(m, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[e] = i, g = (m, e) => {
|
|
6
6
|
for (var i in e || (e = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
10
|
-
O.call(e, i) &&
|
|
7
|
+
w.call(e, i) && k(m, i, e[i]);
|
|
8
|
+
if (C)
|
|
9
|
+
for (var i of C(e))
|
|
10
|
+
O.call(e, i) && k(m, i, e[i]);
|
|
11
11
|
return m;
|
|
12
|
-
},
|
|
13
|
-
import * as
|
|
14
|
-
import { is3DTag as
|
|
15
|
-
import { getTagCenterPosition as
|
|
16
|
-
import { checkRange as
|
|
17
|
-
import { isPanoramaLike as
|
|
12
|
+
}, M = (m, e) => E(m, $(e));
|
|
13
|
+
import * as j from "three";
|
|
14
|
+
import { is3DTag as L, isMediaModelTag as D } from "../utils/tag/tagCheck.js";
|
|
15
|
+
import { getTagCenterPosition as x, getTagPosition as z } from "../utils/tagPosition.js";
|
|
16
|
+
import { checkRange as p } from "../utils/checkRange.js";
|
|
17
|
+
import { isPanoramaLike as b, isModelLike as Z } from "../../shared-utils/five/mode.js";
|
|
18
18
|
import "hammerjs";
|
|
19
19
|
import "@realsee/five";
|
|
20
20
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
21
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
22
22
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
|
-
import { notNil as
|
|
24
|
-
import { TagUtil as
|
|
25
|
-
import { getFloorIndex as
|
|
26
|
-
import { safeObj as
|
|
27
|
-
import { toArray as
|
|
23
|
+
import { notNil as H } from "../../shared-utils/isNil.js";
|
|
24
|
+
import { TagUtil as N } from "./TagUtil.js";
|
|
25
|
+
import { getFloorIndex as q } from "../../shared-utils/five/getFloorIndex.js";
|
|
26
|
+
import { safeObj as R } from "../../shared-utils/safeObj.js";
|
|
27
|
+
import { toArray as W } from "../../shared-utils/util.js";
|
|
28
28
|
import "../../shared-utils/three/centerPoint.js";
|
|
29
29
|
import "../../shared-utils/positionToVector3.js";
|
|
30
30
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -63,8 +63,9 @@ import "../../shared-utils/five/calculateThreeMouse.js";
|
|
|
63
63
|
import "../utils/tag/adaptConfig.js";
|
|
64
64
|
import "../../shared-utils/typescript/entries.js";
|
|
65
65
|
import "../../shared-utils/url/getUrl.js";
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
67
|
+
const I = new j.Raycaster();
|
|
68
|
+
class Je extends N {
|
|
68
69
|
constructor(e) {
|
|
69
70
|
super(e);
|
|
70
71
|
}
|
|
@@ -72,12 +73,12 @@ class Je extends q {
|
|
|
72
73
|
* @description: 获取是否可见
|
|
73
74
|
*/
|
|
74
75
|
getVisible(e, i) {
|
|
75
|
-
const l =
|
|
76
|
+
const l = g(g({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = l, f = b(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
76
77
|
if ((f == null ? void 0 : f.visible) !== void 0)
|
|
77
78
|
return f.visible;
|
|
78
79
|
{
|
|
79
|
-
const s = [],
|
|
80
|
-
var r, c,
|
|
80
|
+
const s = [], u = (() => {
|
|
81
|
+
var r, c, v;
|
|
81
82
|
const o = (r = e.config.visibleConfig) != null ? r : {};
|
|
82
83
|
if (typeof o == "function")
|
|
83
84
|
return { value: o(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: s, reason: "config function result" };
|
|
@@ -87,8 +88,8 @@ class Je extends q {
|
|
|
87
88
|
return { value: !0, checkedList: s, reason: "config.keep is visible" };
|
|
88
89
|
if (o.visibleFiveMode !== void 0) {
|
|
89
90
|
const a = typeof o.visibleFiveMode == "function" ? o.visibleFiveMode(e) : o.visibleFiveMode;
|
|
90
|
-
let
|
|
91
|
-
if (Array.isArray(a) ?
|
|
91
|
+
let d = !1;
|
|
92
|
+
if (Array.isArray(a) ? d = a.includes(n) : a === "ModelLike" ? d = Z(n) : a === "PanoramaLike" ? d = !b(n) : a === "all" ? d = !0 : typeof a == "string" && (d = a === n), d === !1)
|
|
92
93
|
return {
|
|
93
94
|
value: !1,
|
|
94
95
|
checkedList: s,
|
|
@@ -99,7 +100,7 @@ class Je extends q {
|
|
|
99
100
|
}
|
|
100
101
|
if (o.followModelVisibility === !0 && (n === "Floorplan" || n === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
|
|
101
102
|
return { value: !1, checkedList: s, reason: "followModelVisibility check failed" };
|
|
102
|
-
if (
|
|
103
|
+
if (b(n) && o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && t !== void 0) {
|
|
103
104
|
if (s.push("visiblePanoIndex"), Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(t))
|
|
104
105
|
return {
|
|
105
106
|
value: !1,
|
|
@@ -110,22 +111,22 @@ class Je extends q {
|
|
|
110
111
|
return {
|
|
111
112
|
value: !1,
|
|
112
113
|
checkedList: s,
|
|
113
|
-
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(
|
|
114
|
+
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(v = e.fiveState) == null ? void 0 : v.panoIndex}`
|
|
114
115
|
};
|
|
115
116
|
}
|
|
116
117
|
if (o.visibleDistance !== void 0 && (s.push("visibleDistance"), o.visibleDistance !== "unLimited")) {
|
|
117
118
|
const a = this.getDistance(e);
|
|
118
|
-
if (
|
|
119
|
+
if (p(a, o.visibleDistance) === !1)
|
|
119
120
|
return {
|
|
120
121
|
value: !1,
|
|
121
122
|
checkedList: s,
|
|
122
123
|
reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${o.visibleDistance}`
|
|
123
124
|
};
|
|
124
125
|
}
|
|
125
|
-
if (
|
|
126
|
+
if (b(n) && o.angleRange && L(e)) {
|
|
126
127
|
s.push("angleRange");
|
|
127
128
|
const a = this.getAngle(e);
|
|
128
|
-
if (
|
|
129
|
+
if (p(a, o.angleRange) === !1)
|
|
129
130
|
return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${o.angleRange}` };
|
|
130
131
|
}
|
|
131
132
|
if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
|
|
@@ -145,7 +146,7 @@ class Je extends q {
|
|
|
145
146
|
reason: "all check passed"
|
|
146
147
|
};
|
|
147
148
|
})();
|
|
148
|
-
return f && (f.visible =
|
|
149
|
+
return f && (f.visible = u.value, f.__debug_visible_reason__ = u), u.value;
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
/**
|
|
@@ -168,7 +169,7 @@ class Je extends q {
|
|
|
168
169
|
return !1;
|
|
169
170
|
if (n.keep === "unfolded")
|
|
170
171
|
return !0;
|
|
171
|
-
if (n.unfoldDistance &&
|
|
172
|
+
if (n.unfoldDistance && p(this.getDistance(e), n.unfoldDistance) === !1)
|
|
172
173
|
return !1;
|
|
173
174
|
})();
|
|
174
175
|
t.unfolded = f;
|
|
@@ -194,24 +195,24 @@ class Je extends q {
|
|
|
194
195
|
return;
|
|
195
196
|
if (t.autoUnfold.strategy === "ScreenPostion") {
|
|
196
197
|
const f = this.getTagProject(e);
|
|
197
|
-
if (f &&
|
|
198
|
+
if (f && p(f.x, t.autoUnfold.autoUnfoldProjectX) === !1)
|
|
198
199
|
return !1;
|
|
199
200
|
}
|
|
200
201
|
if (t.autoUnfold.strategy === "MinimumDistance") {
|
|
201
|
-
const
|
|
202
|
+
const u = this.filterPointTag.filter((r) => this.getCurrentVisibleState(r)).filter((r) => {
|
|
202
203
|
const c = this.getTagProject(r);
|
|
203
204
|
if (!c)
|
|
204
205
|
return !1;
|
|
205
|
-
const { x:
|
|
206
|
-
return !(Math.abs(
|
|
206
|
+
const { x: v, y: a, z: d } = c;
|
|
207
|
+
return !(Math.abs(d) > 1 || Math.abs(v) > 1 || Math.abs(a) > 1);
|
|
207
208
|
}).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: c }) => {
|
|
208
|
-
var
|
|
209
|
-
return !(typeof c == "function" || c.keep || c.autoUnfold === !1 || ((
|
|
210
|
-
}).map((r) =>
|
|
211
|
-
const
|
|
212
|
-
return !(
|
|
209
|
+
var v, a;
|
|
210
|
+
return !(typeof c == "function" || c.keep || c.autoUnfold === !1 || ((v = c.autoUnfold) == null ? void 0 : v.enable) === !1 || ((a = c.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
|
|
211
|
+
}).map((r) => M(g({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: c }) => {
|
|
212
|
+
const v = c.autoUnfold.distance;
|
|
213
|
+
return !(v && p(r, v) === !1);
|
|
213
214
|
}).sort((r, c) => r.distance - c.distance).findIndex((r) => r.id === e.id);
|
|
214
|
-
if (
|
|
215
|
+
if (u === -1 || u <= ((n = t.autoUnfold.maxNumber) != null ? n : 1) - 1 === !1)
|
|
215
216
|
return !1;
|
|
216
217
|
}
|
|
217
218
|
return !0;
|
|
@@ -265,7 +266,7 @@ class Je extends q {
|
|
|
265
266
|
* @description 一个点的标签
|
|
266
267
|
*/
|
|
267
268
|
getTagProject(e) {
|
|
268
|
-
const i =
|
|
269
|
+
const i = x(e);
|
|
269
270
|
if (!i)
|
|
270
271
|
return;
|
|
271
272
|
const { x: l, y: t, z: n } = i.project(this.five.camera);
|
|
@@ -274,36 +275,36 @@ class Je extends q {
|
|
|
274
275
|
}
|
|
275
276
|
/** 通过射线检测标签可用性 */
|
|
276
277
|
getTagEnableByIntersect(e, i) {
|
|
277
|
-
var o, r, c,
|
|
278
|
-
const l =
|
|
278
|
+
var o, r, c, v, a;
|
|
279
|
+
const l = R(R((o = this.getTagConfig(e).visibleConfig) != null ? o : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, n = b(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
|
|
279
280
|
if (n === void 0)
|
|
280
281
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
281
|
-
const f =
|
|
282
|
+
const f = W(
|
|
282
283
|
(() => {
|
|
283
|
-
var
|
|
284
|
-
const
|
|
285
|
-
return
|
|
284
|
+
var h;
|
|
285
|
+
const d = (h = l.checkPoints) != null ? h : "center";
|
|
286
|
+
return d === "center" ? x(e) : d === "corner" ? z(e) : Array.isArray(d) ? d : [];
|
|
286
287
|
})()
|
|
287
288
|
);
|
|
288
|
-
let s = 0,
|
|
289
|
-
for (const
|
|
290
|
-
const
|
|
291
|
-
|
|
292
|
-
const
|
|
293
|
-
if (!
|
|
289
|
+
let s = 0, u = 0;
|
|
290
|
+
for (const d of f) {
|
|
291
|
+
const h = new j.Vector3().subVectors(d, n).normalize();
|
|
292
|
+
I.set(n, h);
|
|
293
|
+
const U = n.distanceTo(d), [y] = this.five.model.intersectRaycaster(I), P = (() => {
|
|
294
|
+
if (!D(e))
|
|
294
295
|
return;
|
|
295
|
-
const
|
|
296
|
-
var
|
|
297
|
-
return (
|
|
298
|
-
}).filter(
|
|
299
|
-
return
|
|
300
|
-
})(),
|
|
301
|
-
Math.min((
|
|
302
|
-
const
|
|
303
|
-
if (s >=
|
|
296
|
+
const A = this.tags.filter(D).map((V) => {
|
|
297
|
+
var T;
|
|
298
|
+
return (T = V.model) == null ? void 0 : T.object;
|
|
299
|
+
}).filter(H), [S] = I.intersectObjects(A, !0);
|
|
300
|
+
return S;
|
|
301
|
+
})(), _ = (r = l.distanceAccuracy) != null ? r : 0.01;
|
|
302
|
+
Math.min((c = y == null ? void 0 : y.distance) != null ? c : 1 / 0, (v = P == null ? void 0 : P.distance) != null ? v : 1 / 0) + _ >= U ? s++ : u++;
|
|
303
|
+
const F = (a = l.needPassed) != null ? a : 1;
|
|
304
|
+
if (s >= F)
|
|
304
305
|
return { value: !0 };
|
|
305
306
|
}
|
|
306
|
-
return
|
|
307
|
+
return u === 0 ? { value: !0 } : {
|
|
307
308
|
value: !1,
|
|
308
309
|
reason: {
|
|
309
310
|
type: "intersectRaycaster check failed",
|
|
@@ -314,10 +315,10 @@ class Je extends q {
|
|
|
314
315
|
}
|
|
315
316
|
/** 检测是否匹配当前楼层 */
|
|
316
317
|
getVisibleByFloorIndex(e) {
|
|
317
|
-
var n, f, s,
|
|
318
|
+
var n, f, s, u, o, r, c;
|
|
318
319
|
let i = 0;
|
|
319
320
|
const l = (n = e.fiveState) == null ? void 0 : n.panoIndex;
|
|
320
|
-
l !== void 0 ? i = (f = this.work.observers[l]) == null ? void 0 : f.floorIndex : i =
|
|
321
|
+
l !== void 0 ? i = (f = this.work.observers[l]) == null ? void 0 : f.floorIndex : i = q(this.work, (c = (r = (u = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : u.position) != null ? r : (o = e.mediaPlane) == null ? void 0 : o.position) != null ? c : x(e));
|
|
321
322
|
const t = this.five.model.shownFloor;
|
|
322
323
|
return t === null || t === i;
|
|
323
324
|
}
|
|
@@ -74,6 +74,7 @@ import "../../shared-utils/five/calculateThreeMouse.js";
|
|
|
74
74
|
import "../utils/tag/adaptConfig.js";
|
|
75
75
|
import "../../shared-utils/typescript/entries.js";
|
|
76
76
|
import "../../shared-utils/url/getUrl.js";
|
|
77
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
77
78
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
78
79
|
import "../../shared-utils/safeObj.js";
|
|
79
80
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -158,7 +159,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
|
|
|
158
159
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
159
160
|
import "@realsee/five/gltf-loader";
|
|
160
161
|
const q = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
|
|
161
|
-
class
|
|
162
|
+
class ui extends x {
|
|
162
163
|
constructor(t) {
|
|
163
164
|
super(t);
|
|
164
165
|
P(this, "group", new y());
|
|
@@ -464,5 +465,5 @@ class hi extends x {
|
|
|
464
465
|
}
|
|
465
466
|
}
|
|
466
467
|
export {
|
|
467
|
-
|
|
468
|
+
ui as TagRender
|
|
468
469
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TagInstance, TagContentType, StickType, TagId, TagConfig, PlaneTag, MediaStore } from '../typings';
|
|
1
|
+
import type { TagInstance, TagContentType, StickType, TagId, TagConfig, PlaneTag, MediaStore, Position } from '../typings';
|
|
2
2
|
import * as THREE from 'three';
|
|
3
3
|
import type { Tag, Tags, PointTagInstance, Point3DTag } from '../typings';
|
|
4
4
|
import { TagCache } from './TagCache';
|
|
@@ -10,6 +10,8 @@ import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
|
|
|
10
10
|
export declare abstract class TagUtil extends TagCache {
|
|
11
11
|
tags: TagInstance[];
|
|
12
12
|
config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
|
|
13
|
+
set workCode(workCode: string);
|
|
14
|
+
get workCode(): string;
|
|
13
15
|
protected get work(): import("@realsee/five").Work;
|
|
14
16
|
protected mediaStore: MediaStore;
|
|
15
17
|
/** css3DRenderPlugin */
|
|
@@ -25,6 +27,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
25
27
|
disposed: boolean;
|
|
26
28
|
};
|
|
27
29
|
protected domEvents: FiveDomEvents;
|
|
30
|
+
private _workCode;
|
|
28
31
|
protected constructor(five: Five);
|
|
29
32
|
getTagById<C extends TagContentType = TagContentType, S extends StickType = StickType>(id: TagId): TagInstance<C, S> | undefined;
|
|
30
33
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
@@ -40,6 +43,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
40
43
|
* @description 获取标签当前状态
|
|
41
44
|
*/
|
|
42
45
|
getCurrentVisibleState(tag: TagInstance): boolean;
|
|
46
|
+
protected getObserverPosition: (index: number) => THREE.Vector3;
|
|
43
47
|
protected loadVideoFirstFrame: () => void;
|
|
44
48
|
protected updateTagConfig(): void;
|
|
45
49
|
protected can<T extends Tag>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;
|
|
@@ -52,7 +56,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
52
56
|
* @description: 获取距离
|
|
53
57
|
*/
|
|
54
58
|
protected getDistance(tag: TagInstance, fiveState?: Partial<FiveState>): number;
|
|
55
|
-
protected getPositions(tag: TagInstance): [
|
|
59
|
+
protected getPositions(tag: TagInstance): [Position, Position, Position, Position];
|
|
56
60
|
protected addObjectClickHandler(tag: TagInstance, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
|
|
57
61
|
protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
|
|
58
62
|
protected get filterPointTag(): PointTagInstance[];
|
|
@@ -60,6 +64,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
60
64
|
protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
|
|
61
65
|
protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
|
|
62
66
|
protected get filterCSS3DTag(): (TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
|
|
67
|
+
protected getTransformedPostion(position: Tag['position']): THREE.Vector3 | [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3];
|
|
63
68
|
/**
|
|
64
69
|
* @description 检查是否已经销毁
|
|
65
70
|
* @returns isDisposed; 已经销毁返回 true,否则返回 false
|