@realsee/dnalogel 3.2.0 → 3.3.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +8 -4
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -1
- 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 +55 -55
- package/dist/index.js +4088 -4068
- package/dist/index.umd.js +52 -52
- package/dist/shared-utils/five/getFloorIndex.d.ts +2 -8
- package/dist/shared-utils/five/transformPosition.d.ts +2 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +120 -0
- package/docs/assets/main.js +58 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1367 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +725 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +678 -0
- package/docs/classes/CSS3DRender.html +773 -0
- package/docs/classes/CruisePluginController.html +672 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +476 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +856 -0
- package/docs/classes/Magnifier.html +480 -0
- package/docs/classes/ModelRoomLabelController.html +398 -0
- package/docs/classes/Object3DHelperController.html +640 -0
- package/docs/classes/PaintBrush.html +502 -0
- package/docs/classes/PanoMeasurePluginLine.html +522 -0
- package/docs/classes/PanoMeasurePluginModel.html +571 -0
- package/docs/classes/PanoMeasurePluginPoint.html +362 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +567 -0
- package/docs/classes/PanoTagPluginController.html +1077 -0
- package/docs/classes/Util.BetterTween.html +416 -0
- package/docs/classes/Util.Interval.html +432 -0
- package/docs/classes/Util.LineSegments.html +384 -0
- package/docs/classes/Util.Magnifier.html +503 -0
- package/docs/classes/Util.Object3D.html +406 -0
- package/docs/classes/Util.PointDomHelper.html +407 -0
- package/docs/classes/Util.PointHelper.html +398 -0
- package/docs/classes/Util.PointSelectorHelper.html +454 -0
- package/docs/classes/Util.Rectangle.html +455 -0
- package/docs/enums/CameraMovementEffect.html +310 -0
- package/docs/enums/ContentType.html +446 -0
- package/docs/enums/DIRECTION.html +320 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +320 -0
- package/docs/enums/DimensionType.html +310 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +313 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +320 -0
- package/docs/enums/PaintBrushTypeEnum.html +313 -0
- package/docs/enums/PointType.html +310 -0
- package/docs/enums/Rotation.html +317 -0
- package/docs/functions/AreaMakerPlugin.html +290 -0
- package/docs/functions/CSS3DRenderPlugin.html +288 -0
- package/docs/functions/CameraMovementPlugin.html +293 -0
- package/docs/functions/CruisePlugin.html +290 -0
- package/docs/functions/CurrentPanoImagePlugin.html +290 -0
- package/docs/functions/GuideLinePlugin.html +290 -0
- package/docs/functions/ItemLabelPlugin.html +290 -0
- package/docs/functions/MapviewFloorplanPlugin.html +290 -0
- package/docs/functions/ModelChassisCompassPlugin.html +293 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +293 -0
- package/docs/functions/ModelFloorplanPlugin.html +290 -0
- package/docs/functions/ModelItemLabelPlugin.html +290 -0
- package/docs/functions/ModelRoomLabelPlugin.html +288 -0
- package/docs/functions/ModelTVVideoPlugin.html +290 -0
- package/docs/functions/ModelViewPlugin.html +293 -0
- package/docs/functions/Object3DHelperPlugin.html +288 -0
- package/docs/functions/PanoCompassPlugin.html +290 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +294 -0
- package/docs/functions/PanoDoorLabelPlugin.html +290 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +290 -0
- package/docs/functions/PanoMeasurePlugin.html +290 -0
- package/docs/functions/PanoRulerPlugin.html +293 -0
- package/docs/functions/PanoRulerProPlugin.html +293 -0
- package/docs/functions/PanoSpatialTagPlugin.html +293 -0
- package/docs/functions/PanoTagPlugin.html +295 -0
- package/docs/functions/PanoVideoPlugin.html +299 -0
- package/docs/functions/PipelinePlugin.html +288 -0
- package/docs/functions/TopviewFloorplanPlugin.html +290 -0
- package/docs/functions/Util.absoluteUrl.html +326 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +329 -0
- package/docs/functions/Util.equal.html +338 -0
- package/docs/functions/Util.getCoordsFromClient.html +328 -0
- package/docs/functions/Util.getCoordsFromElement.html +328 -0
- package/docs/functions/Util.getFrameTime.html +320 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +328 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +328 -0
- package/docs/functions/Util.isAbsoluteURL.html +321 -0
- package/docs/functions/Util.isModelLike.html +321 -0
- package/docs/functions/Util.isNil.html +329 -0
- package/docs/functions/Util.isPanoramaLike.html +321 -0
- package/docs/functions/Util.nextFrame.html +334 -0
- package/docs/functions/Util.notNil.html +329 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +350 -0
- package/docs/functions/Util.tweenProgress.html +323 -0
- package/docs/functions/Util.uuid.html +319 -0
- package/docs/functions/pluginFlag.html +288 -0
- package/docs/index.html +354 -0
- package/docs/interfaces/AddTagConfig.html +303 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +329 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +334 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +620 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +333 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +383 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +368 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +333 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +326 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +325 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +354 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +449 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +325 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +358 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +359 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +361 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +696 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +385 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +421 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +411 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +351 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +319 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +408 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +382 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +521 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +323 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +315 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +337 -0
- package/docs/interfaces/EventMap.html +542 -0
- package/docs/interfaces/FloorplanBounding.html +332 -0
- package/docs/interfaces/FloorplanData.html +335 -0
- package/docs/interfaces/FloorplanEntrance.html +360 -0
- package/docs/interfaces/FloorplanExtraObject.html +350 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +339 -0
- package/docs/interfaces/FloorplanFloorData.html +328 -0
- package/docs/interfaces/FloorplanImagePosition.html +314 -0
- package/docs/interfaces/FloorplanObserver.html +332 -0
- package/docs/interfaces/FloorplanOutlineItem.html +328 -0
- package/docs/interfaces/FloorplanPosition.html +314 -0
- package/docs/interfaces/FloorplanRoomItem.html +379 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +320 -0
- package/docs/interfaces/FloorplanServerBounding.html +332 -0
- package/docs/interfaces/FloorplanServerComputedData.html +331 -0
- package/docs/interfaces/FloorplanServerData.html +314 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +331 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +317 -0
- package/docs/interfaces/FloorplanServerEntrance.html +360 -0
- package/docs/interfaces/FloorplanServerFloorData.html +328 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +314 -0
- package/docs/interfaces/FloorplanServerObserver.html +332 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +328 -0
- package/docs/interfaces/FloorplanServerPosition.html +314 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +391 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +320 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +323 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +362 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +526 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +357 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +348 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +415 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +337 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +347 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +483 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +344 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +483 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +309 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +330 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +355 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +371 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +353 -0
- package/docs/interfaces/HelperOffset.html +332 -0
- package/docs/interfaces/ImagePlaneGroup.html +306 -0
- package/docs/interfaces/ItemLabelPluginData.html +303 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +388 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +324 -0
- package/docs/interfaces/MinMax.html +310 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +310 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +346 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +310 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +317 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +354 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +303 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +388 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +310 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +303 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +324 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +348 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +303 -0
- package/docs/interfaces/ModelViewPluginExportType.html +416 -0
- package/docs/interfaces/Object3DHelperState.html +317 -0
- package/docs/interfaces/ObjectHelperControllers.html +324 -0
- package/docs/interfaces/PaintBrushAction.html +363 -0
- package/docs/interfaces/PaintBrushConfigs.html +361 -0
- package/docs/interfaces/PaintBrushState.html +345 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +425 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +282 -0
- package/docs/interfaces/PanoMeasureParameterType.html +449 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +317 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +314 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +310 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +320 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +377 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +326 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +317 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +353 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +323 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +310 -0
- package/docs/interfaces/PanoRulerProPluginState.html +317 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +296 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +285 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +353 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +335 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +431 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +331 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +352 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +338 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +331 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +323 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +341 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +314 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +420 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +314 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +349 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +368 -0
- package/docs/interfaces/Point.html +317 -0
- package/docs/interfaces/Room.html +324 -0
- package/docs/interfaces/RoomInfo.html +310 -0
- package/docs/interfaces/RoomLabel.html +386 -0
- package/docs/interfaces/RoomRules.html +285 -0
- package/docs/interfaces/Rooms.html +285 -0
- package/docs/interfaces/Scissor.html +344 -0
- package/docs/interfaces/State.html +331 -0
- package/docs/interfaces/TagCacheInterface.html +362 -0
- package/docs/interfaces/TagConfig.html +565 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +306 -0
- package/docs/interfaces/TagIconUrl.html +363 -0
- package/docs/interfaces/TagObjectGroup.html +306 -0
- package/docs/interfaces/TagStyle.html +316 -0
- package/docs/interfaces/Tags.html +2688 -0
- package/docs/interfaces/TemporaryState.html +303 -0
- package/docs/interfaces/Util.MagnifierParameter.html +391 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +350 -0
- package/docs/interfaces/Util.PointIntersection.html +365 -0
- package/docs/modules/AreaMakerPluginType.html +323 -0
- package/docs/modules/CruisePluginTypes.html +328 -0
- package/docs/modules/CurrentPanoImagePluginType.html +297 -0
- package/docs/modules/GuideLineItem.html +289 -0
- package/docs/modules/GuideLineModeItem.html +294 -0
- package/docs/modules/GuideLinePluginType.html +350 -0
- package/docs/modules/PanoVideoPluginType.html +301 -0
- package/docs/modules/Util.html +351 -0
- package/docs/modules.html +540 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +331 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +301 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +301 -0
- package/docs/types/ArrayPosition.html +279 -0
- package/docs/types/AudioAppearance.html +279 -0
- package/docs/types/AudioTagTypeConfigKey.html +279 -0
- package/docs/types/CSS3DRenderExportType.html +279 -0
- package/docs/types/CSS3DRenderPluginExportType.html +279 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +279 -0
- package/docs/types/ClassFunctionParameters.html +286 -0
- package/docs/types/Color.html +279 -0
- package/docs/types/ContentTypeConfigKey.html +279 -0
- package/docs/types/ContentTypeConfigKeySplit.html +279 -0
- package/docs/types/ContentTypeMap.html +279 -0
- package/docs/types/Create3DDomContainerReturnType.html +279 -0
- package/docs/types/Create3DElementReturnType.html +279 -0
- package/docs/types/CruisePluginExportType.html +279 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +318 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +295 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +279 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +291 -0
- package/docs/types/DeprecatedTagProperty.html +294 -0
- package/docs/types/Direction-1.html +279 -0
- package/docs/types/Direction4.html +279 -0
- package/docs/types/ElementRenderer.html +303 -0
- package/docs/types/FloorplanRuleLabels.html +282 -0
- package/docs/types/FloorplanServerRuleLabels.html +279 -0
- package/docs/types/GuideLinePluginExportType.html +279 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +352 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +373 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +306 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +309 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +309 -0
- package/docs/types/GuideLinePluginType.PathItem.html +309 -0
- package/docs/types/GuideLinePluginType.PluginData.html +318 -0
- package/docs/types/HelperEventMap.html +517 -0
- package/docs/types/LoadTagConfig.html +279 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +279 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +279 -0
- package/docs/types/MediaData.html +295 -0
- package/docs/types/MediaStore.html +284 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +286 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +279 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +279 -0
- package/docs/types/ModelId.html +279 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +279 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +279 -0
- package/docs/types/MoveArgs.html +289 -0
- package/docs/types/MoveOpts.html +287 -0
- package/docs/types/Object3DHelperEventMap.html +372 -0
- package/docs/types/ObjectFit.html +279 -0
- package/docs/types/PaintBrushEventMap.html +310 -0
- package/docs/types/PanoCompassPluginData.html +279 -0
- package/docs/types/PanoCompassPluginExportType.html +279 -0
- package/docs/types/PanoCompassPluginParameterType.html +279 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +279 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +279 -0
- package/docs/types/PanoIndex.html +279 -0
- package/docs/types/PanoMeasurePluginEvent.html +279 -0
- package/docs/types/PanoMeasureReturnType.html +279 -0
- package/docs/types/PanoSpatialTagPluginId.html +279 -0
- package/docs/types/PanoTagPluginExportInterface.html +279 -0
- package/docs/types/PanoTagPluginParamsInterface.html +279 -0
- package/docs/types/PanoVideoPluginParameterType.html +279 -0
- package/docs/types/PanoVideoPluginReturnType.html +279 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +287 -0
- package/docs/types/PipelinePluginParameterType.html +279 -0
- package/docs/types/PipelinePluginReturnType.html +279 -0
- package/docs/types/PlaneTag.html +287 -0
- package/docs/types/Point2DTag.html +287 -0
- package/docs/types/Point3DTag.html +287 -0
- package/docs/types/PointTag.html +284 -0
- package/docs/types/PointTagInstance.html +284 -0
- package/docs/types/Position.html +279 -0
- package/docs/types/RotateArgs.html +291 -0
- package/docs/types/RotateOpts.html +287 -0
- package/docs/types/RuleLabelsKey.html +279 -0
- package/docs/types/RuleLabelsValue.html +279 -0
- package/docs/types/StickType.html +279 -0
- package/docs/types/Tag.html +345 -0
- package/docs/types/Tag2D.html +287 -0
- package/docs/types/Tag3D.html +287 -0
- package/docs/types/TagConfigByKey.html +284 -0
- package/docs/types/TagContentType.html +279 -0
- package/docs/types/TagDimensionType.html +281 -0
- package/docs/types/TagElement.html +289 -0
- package/docs/types/TagEvents.html +332 -0
- package/docs/types/TagGLTFObject.html +302 -0
- package/docs/types/TagHooks.html +279 -0
- package/docs/types/TagId.html +279 -0
- package/docs/types/TagInstance.html +355 -0
- package/docs/types/TagPointType.html +282 -0
- package/docs/types/TagRendererMap.html +284 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +279 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +279 -0
- package/docs/types/WorkCode.html +279 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +289 -0
- package/docs/variables/PLUGIN.html +279 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +282 -0
- package/docs/variables/ROOM_TYPE_MAP.html +289 -0
- package/docs/variables/defaultGlobalConfig.html +279 -0
- package/docs/variables/itemLabelPluginServerParams.html +286 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +286 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +286 -0
- 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 +90 -96
- package/libs/PanoTagPlugin/controller/TagRender.js +86 -86
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +8 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +119 -103
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/index.js +43 -38
- 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
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
for (var t in
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
|
|
10
|
-
return
|
|
1
|
+
var E = Object.defineProperty;
|
|
2
|
+
var R = Object.getOwnPropertySymbols;
|
|
3
|
+
var V = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var C = (c, l, t) => l in c ? E(c, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[l] = t, j = (c, l) => {
|
|
5
|
+
for (var t in l || (l = {}))
|
|
6
|
+
V.call(l, t) && C(c, t, l[t]);
|
|
7
|
+
if (R)
|
|
8
|
+
for (var t of R(l))
|
|
9
|
+
A.call(l, t) && C(c, t, l[t]);
|
|
10
|
+
return c;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var
|
|
12
|
+
var f = (c, l, t) => (C(c, typeof l != "symbol" ? l + "" : l, t), t);
|
|
13
|
+
var S = (c, l, t) => new Promise((e, o) => {
|
|
14
14
|
var i = (r) => {
|
|
15
15
|
try {
|
|
16
16
|
a(t.next(r));
|
|
@@ -24,18 +24,18 @@ var M = (d, p, t) => new Promise((e, o) => {
|
|
|
24
24
|
o(n);
|
|
25
25
|
}
|
|
26
26
|
}, a = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(i, s);
|
|
27
|
-
a((t = t.apply(
|
|
27
|
+
a((t = t.apply(c, l)).next());
|
|
28
28
|
});
|
|
29
|
-
import { TagComputer as
|
|
30
|
-
import { Group as
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import { CSS3DRenderPlugin as
|
|
34
|
-
import { loadGLTF as
|
|
35
|
-
import { isMediaModelTag as
|
|
36
|
-
import { VideoPlane as
|
|
37
|
-
import { centerPoint as
|
|
38
|
-
import { arrayPositionToVector3 as
|
|
29
|
+
import { TagComputer as x } from "./TagComputer.js";
|
|
30
|
+
import { Group as y, Quaternion as O, Vector3 as b, Matrix4 as v } from "three";
|
|
31
|
+
import I from "../Components/TagContainer.js";
|
|
32
|
+
import G from "../Components/Tag/index.js";
|
|
33
|
+
import { CSS3DRenderPlugin as F } from "../../CSS3DRenderPlugin/index.js";
|
|
34
|
+
import { loadGLTF as L } from "../../shared-utils/three/GLTFLoader.js";
|
|
35
|
+
import { isMediaModelTag as g, isStickModelTag as W } from "../utils/tag/tagCheck.js";
|
|
36
|
+
import { VideoPlane as w, ImagePlane as k } from "../utils/model/mediaPlane.js";
|
|
37
|
+
import { centerPoint as $ } from "../../shared-utils/three/centerPoint.js";
|
|
38
|
+
import { arrayPositionToVector3 as D } from "../../shared-utils/positionToVector3.js";
|
|
39
39
|
import "../utils/tagPosition.js";
|
|
40
40
|
import "../utils/checkRange.js";
|
|
41
41
|
import "../../shared-utils/five/mode.js";
|
|
@@ -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";
|
|
@@ -157,38 +158,38 @@ import "../Components/Tag/CustomTag.js";
|
|
|
157
158
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
158
159
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
159
160
|
import "@realsee/five/gltf-loader";
|
|
160
|
-
const
|
|
161
|
-
class ui extends
|
|
161
|
+
const q = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
|
|
162
|
+
class ui extends x {
|
|
162
163
|
constructor(t) {
|
|
163
164
|
super(t);
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
f(this, "group", new y());
|
|
166
|
+
f(this, "renderMap", /* @__PURE__ */ new Map());
|
|
167
|
+
f(this, "imagePlaneGroup", new y());
|
|
168
|
+
f(this, "gltfObjectGroup", new y());
|
|
168
169
|
/** 维护一个可用模型表,用于快速删除不应该在场景中的模型 */
|
|
169
|
-
|
|
170
|
+
f(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
|
|
170
171
|
/** 临时状态 */
|
|
171
|
-
|
|
172
|
+
f(this, "temporaryState", { visible: !0 });
|
|
172
173
|
/** 点标签 */
|
|
173
|
-
|
|
174
|
+
f(this, "TagContainerSvelte");
|
|
174
175
|
/** 加载外部模型 */
|
|
175
|
-
|
|
176
|
+
f(this, "loadModel", (t) => S(this, null, function* () {
|
|
176
177
|
var a;
|
|
177
178
|
const e = t.data.modelUrl;
|
|
178
179
|
if (!e)
|
|
179
180
|
return;
|
|
180
181
|
t.loading = !0;
|
|
181
|
-
const o =
|
|
182
|
-
var m
|
|
182
|
+
const o = L(e).then((r) => {
|
|
183
|
+
var m;
|
|
183
184
|
const n = Object.assign(r.scene, {
|
|
184
185
|
customID: t.id,
|
|
185
186
|
isTagModel: !0,
|
|
186
|
-
removeEventListener: t.
|
|
187
|
+
removeEventListener: this.getTagConfig(t).clickable === !1 ? () => {
|
|
187
188
|
} : this.addObjectClickHandler(t, r.scene, (h) => {
|
|
188
189
|
this.hooks.emit("click", { target: "TagModel", tag: t, event: h });
|
|
189
190
|
})
|
|
190
191
|
});
|
|
191
|
-
return n.visible = this.getCurrentVisibleState(t), new
|
|
192
|
+
return n.visible = this.getCurrentVisibleState(t), new v().fromArray(t.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(t), (m = this.getTagConfig(t).modelConfig) != null && m.autoLookAtEnabled && n.lookAt(this.five.camera.position.clone().setY(n.position.y)), n;
|
|
192
193
|
});
|
|
193
194
|
t.model = { promise: o };
|
|
194
195
|
const i = yield o;
|
|
@@ -196,13 +197,13 @@ class ui extends O {
|
|
|
196
197
|
return;
|
|
197
198
|
t.model.object = i;
|
|
198
199
|
const s = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
|
|
199
|
-
if (s && (this.gltfObjectGroup.remove(s), s.removeEventListener()), this.updateRender3DDomTag(),
|
|
200
|
+
if (s && (this.gltfObjectGroup.remove(s), s.removeEventListener()), this.updateRender3DDomTag(), g(t)) {
|
|
200
201
|
if (this.getRenderType(t) === "Mesh" && !t.mediaPlane) {
|
|
201
|
-
const r = t.data.mediaPosition.map(
|
|
202
|
-
t.mediaPlane = new
|
|
202
|
+
const r = t.data.mediaPosition.map(D);
|
|
203
|
+
t.mediaPlane = new k(t.data.mediaData[0].url, t.data.mediaPosition.map(D), {
|
|
203
204
|
objectFit: t.data.objectFit
|
|
204
205
|
});
|
|
205
|
-
const n = new
|
|
206
|
+
const n = new b().addVectors(r[0], r[2]).divideScalar(2);
|
|
206
207
|
t.mediaPlane.position.copy(n), i.add(t.mediaPlane);
|
|
207
208
|
}
|
|
208
209
|
this.getRenderType(t) !== "Mesh" && (i.updateTagCss3DObjectMatrix = () => this.updateTagCss3DObjectMatrix(t, i), i.updateTagCss3DObjectMatrix());
|
|
@@ -239,30 +240,30 @@ class ui extends O {
|
|
|
239
240
|
var o, i;
|
|
240
241
|
return ((i = (o = e.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : i.type) === "Video";
|
|
241
242
|
}).forEach((e) => {
|
|
242
|
-
var m,
|
|
243
|
+
var m, h, P;
|
|
243
244
|
const o = e.data.mediaData[0];
|
|
244
245
|
if (!o)
|
|
245
246
|
return;
|
|
246
247
|
const { url: i } = o;
|
|
247
248
|
if (!i)
|
|
248
249
|
return;
|
|
249
|
-
e.mediaPlane && !((
|
|
250
|
-
const s = e.position.map(
|
|
251
|
-
if ((r ||
|
|
252
|
-
const
|
|
250
|
+
e.mediaPlane && !((h = (m = e.state) == null ? void 0 : m.visible) == null || h) && e.mediaPlane instanceof w && e.mediaPlane.pause();
|
|
251
|
+
const s = e.position.map(D), a = this.getCurrentVisibleState(e), r = (() => !!(e.mediaPlane && !a))(), n = (() => !!(!e.mediaPlane && a))(), p = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
|
|
252
|
+
if ((r || p) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), n || p) {
|
|
253
|
+
const d = new w(i, s, {
|
|
253
254
|
videoCoverSrc: o.videoCoverUrl,
|
|
254
255
|
playButton: e.data.playIcon,
|
|
255
|
-
paused: !((
|
|
256
|
+
paused: !((P = e.data.autoplayConfig) != null && P.autoplayVideo),
|
|
256
257
|
objectFit: e.data.objectFit,
|
|
257
|
-
videoTextureMap:
|
|
258
|
-
ImageTextureMap:
|
|
258
|
+
videoTextureMap: q,
|
|
259
|
+
ImageTextureMap: B,
|
|
259
260
|
domEvents: this.domEvents
|
|
260
261
|
});
|
|
261
|
-
|
|
262
|
-
|
|
262
|
+
d.onVideoReady = (u) => {
|
|
263
|
+
u.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: d.videoInstance }));
|
|
263
264
|
};
|
|
264
|
-
const
|
|
265
|
-
|
|
265
|
+
const T = (u) => (this.five.on("renderFrame", u), () => this.five.off("renderFrame", u));
|
|
266
|
+
d.initialRenderHooks(T), e.mediaPlane = d, this.imagePlaneGroup.add(e.mediaPlane);
|
|
266
267
|
}
|
|
267
268
|
});
|
|
268
269
|
}
|
|
@@ -274,13 +275,12 @@ class ui extends O {
|
|
|
274
275
|
var o, i;
|
|
275
276
|
return ((i = (o = e.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : i.type) === "Image";
|
|
276
277
|
}).forEach((e) => {
|
|
277
|
-
var l, m;
|
|
278
278
|
const { url: o } = e.data.mediaData[0];
|
|
279
279
|
if (!o)
|
|
280
280
|
return;
|
|
281
|
-
const i = e.position.map(
|
|
282
|
-
(a || n) &&
|
|
283
|
-
this.hooks.emit("click", { tag: e, target: "TagContent", event:
|
|
281
|
+
const i = e.position.map(D), s = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !s))(), r = (() => !!(!e.mediaPlane && s))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
|
|
282
|
+
(a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (r || n) && (e.mediaPlane = new k(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (p) => {
|
|
283
|
+
this.hooks.emit("click", { tag: e, target: "TagContent", event: p.origDomEvent });
|
|
284
284
|
}), this.imagePlaneGroup.add(e.mediaPlane));
|
|
285
285
|
});
|
|
286
286
|
}
|
|
@@ -291,16 +291,16 @@ class ui extends O {
|
|
|
291
291
|
this.filterCSS3DTag.forEach((e) => {
|
|
292
292
|
var o, i, s;
|
|
293
293
|
if (e.tag3DContentSvelte) {
|
|
294
|
-
const { svelteApp: a, css3DInstance: r, initialNormal: n, currentNormal:
|
|
295
|
-
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(
|
|
296
|
-
const m = new
|
|
294
|
+
const { svelteApp: a, css3DInstance: r, initialNormal: n, currentNormal: p } = e.tag3DContentSvelte;
|
|
295
|
+
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(p)) {
|
|
296
|
+
const m = new O().setFromUnitVectors(n, p);
|
|
297
297
|
r.css3DObject.setRotationFromQuaternion(m);
|
|
298
298
|
}
|
|
299
299
|
return;
|
|
300
300
|
} else {
|
|
301
|
-
if (
|
|
301
|
+
if (g(e) && !((o = e.model) != null && o.object) || ((i = e.state) == null ? void 0 : i.visible) === !1 || !this.state.visible || !this.state.enabled)
|
|
302
302
|
return;
|
|
303
|
-
if (this.css3DRenderPlugin || (this.css3DRenderPlugin =
|
|
303
|
+
if (this.css3DRenderPlugin || (this.css3DRenderPlugin = F(this.five)), e.stickType === "3DPoint" && !e.normal)
|
|
304
304
|
return console.error("updateRenderPlaneTag: 三维点标签缺少法向量!");
|
|
305
305
|
const a = this.getPositions(e);
|
|
306
306
|
if (!a)
|
|
@@ -308,25 +308,25 @@ class ui extends O {
|
|
|
308
308
|
const r = this.getTagNormal(e);
|
|
309
309
|
if (!r)
|
|
310
310
|
return;
|
|
311
|
-
const n = this.getTagConfig(e),
|
|
312
|
-
if (this.getRenderType(e) === "BehindDom" ||
|
|
313
|
-
|
|
314
|
-
const
|
|
315
|
-
|
|
316
|
-
var
|
|
311
|
+
const n = this.getTagConfig(e), p = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
|
|
312
|
+
if (this.getRenderType(e) === "BehindDom" || p.mode === "behind") {
|
|
313
|
+
p.mode = "behind", p.container = document.createElement("div");
|
|
314
|
+
const P = "black";
|
|
315
|
+
p.container.style.backgroundColor = P, p.container.style.border = `3px solid ${P}`, this.css3DRenderPlugin.hooks.on("render", () => {
|
|
316
|
+
var d;
|
|
317
317
|
if (m.css3DObject.opacityMesh && n.clickable !== !1) {
|
|
318
|
-
const
|
|
319
|
-
this.hooks.emit("click", { event:
|
|
318
|
+
const T = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (u) => {
|
|
319
|
+
this.hooks.emit("click", { event: u, target: "TagContent", tag: e });
|
|
320
320
|
});
|
|
321
|
-
(
|
|
321
|
+
(d = this.store.css3DRenderDisposer.get(e.id)) == null || d.push(T);
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
const m = this.css3DRenderPlugin.create3DDomContainer(a,
|
|
325
|
+
const m = this.css3DRenderPlugin.create3DDomContainer(a, p);
|
|
326
326
|
if (!m)
|
|
327
327
|
return;
|
|
328
328
|
this.store.css3DRenderDisposer.set(e.id, [m.dispose]);
|
|
329
|
-
const
|
|
329
|
+
const h = new G({
|
|
330
330
|
target: m.container,
|
|
331
331
|
props: {
|
|
332
332
|
tag: e,
|
|
@@ -338,15 +338,15 @@ class ui extends O {
|
|
|
338
338
|
}
|
|
339
339
|
});
|
|
340
340
|
e.tag3DContentSvelte = {
|
|
341
|
-
svelteApp:
|
|
341
|
+
svelteApp: h,
|
|
342
342
|
domContainer: m,
|
|
343
343
|
css3DInstance: m,
|
|
344
344
|
initialNormal: r,
|
|
345
345
|
currentNormal: r,
|
|
346
346
|
dispose: () => {
|
|
347
|
-
|
|
347
|
+
h.$destroy(), m.dispose();
|
|
348
348
|
}
|
|
349
|
-
},
|
|
349
|
+
}, g(e) && ((s = e.model) != null && s.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
|
|
350
350
|
}
|
|
351
351
|
}), this.clearUnusedPanelTag();
|
|
352
352
|
}
|
|
@@ -377,23 +377,23 @@ class ui extends O {
|
|
|
377
377
|
* @param model 模型
|
|
378
378
|
*/
|
|
379
379
|
updateTagCss3DObjectMatrix(t, e) {
|
|
380
|
-
var
|
|
381
|
-
const o = (
|
|
380
|
+
var T, u, M;
|
|
381
|
+
const o = (u = (T = this.getTagConfig(t).tag3DConfig) == null ? void 0 : T.ratio) != null ? u : 216e-5, i = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
|
|
382
382
|
if (!i)
|
|
383
383
|
return;
|
|
384
|
-
const s =
|
|
384
|
+
const s = g(t) ? t.data.mediaPosition : t.position;
|
|
385
385
|
if (!s || s.length !== 4 || !Array.isArray(s[0]) || !Array.isArray(s[2]))
|
|
386
386
|
return;
|
|
387
387
|
e.updateWorldMatrix(!1, !1);
|
|
388
|
-
const a = e.matrixWorld, r = new
|
|
389
|
-
|
|
390
|
-
const
|
|
391
|
-
|
|
388
|
+
const a = e.matrixWorld, r = new b().fromArray(s[0]), n = new b().fromArray(s[2]), p = $(r, n).add(new b(0, 0, 5e-4)), m = new v().setPosition(p), h = new v().makeScale(o, o, o), P = new v().multiply(a).multiply(m).multiply(h);
|
|
389
|
+
P.decompose(i.position, i.quaternion, i.scale);
|
|
390
|
+
const d = i.opacityMesh;
|
|
391
|
+
d && P.decompose(d.position, d.quaternion, d.scale);
|
|
392
392
|
}
|
|
393
393
|
/** 添加模型标签 */
|
|
394
394
|
addMediaModelTag(t) {
|
|
395
|
-
return
|
|
396
|
-
const e = t.filter(
|
|
395
|
+
return S(this, null, function* () {
|
|
396
|
+
const e = t.filter(W).map((o) => this.loadModel(o));
|
|
397
397
|
yield Promise.all(e), this.setVisible(), this.updateRenderAllTags();
|
|
398
398
|
});
|
|
399
399
|
}
|
|
@@ -449,7 +449,7 @@ class ui extends O {
|
|
|
449
449
|
const s = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
|
|
450
450
|
if (!s)
|
|
451
451
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
452
|
-
this.TagContainerSvelte = new
|
|
452
|
+
this.TagContainerSvelte = new I({
|
|
453
453
|
target: s,
|
|
454
454
|
props: {
|
|
455
455
|
hooks: this.hooks,
|
|
@@ -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,9 @@ 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;
|
|
15
|
+
protected get work(): import("@realsee/five").Work;
|
|
13
16
|
protected mediaStore: MediaStore;
|
|
14
17
|
/** css3DRenderPlugin */
|
|
15
18
|
protected css3DRenderPlugin?: CSS3DRenderPluginExportType;
|
|
@@ -24,7 +27,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
24
27
|
disposed: boolean;
|
|
25
28
|
};
|
|
26
29
|
protected domEvents: FiveDomEvents;
|
|
27
|
-
private
|
|
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,8 +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): [
|
|
56
|
-
protected preventWhenMouseDown: () => false | void;
|
|
59
|
+
protected getPositions(tag: TagInstance): [Position, Position, Position, Position];
|
|
57
60
|
protected addObjectClickHandler(tag: TagInstance, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
|
|
58
61
|
protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
|
|
59
62
|
protected get filterPointTag(): PointTagInstance[];
|
|
@@ -61,6 +64,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
61
64
|
protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
|
|
62
65
|
protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
|
|
63
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];
|
|
64
68
|
/**
|
|
65
69
|
* @description 检查是否已经销毁
|
|
66
70
|
* @returns isDisposed; 已经销毁返回 true,否则返回 false
|