@realsee/dnalogel 3.81.10 → 3.81.11-alpha.2
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/DigitalPerformancePlugin/controller/index.d.ts +15 -0
- package/dist/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.d.ts +99 -0
- package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +2 -0
- package/dist/DigitalPerformancePlugin/index.d.ts +2 -0
- package/dist/DigitalPerformanceV2Plugin/controller/index.d.ts +13 -0
- package/dist/DigitalPerformanceV2Plugin/core/Playground.d.ts +4 -0
- package/dist/DigitalPerformanceV2Plugin/index.d.ts +2 -0
- package/dist/index.cjs.js +87 -75
- package/dist/index.js +5259 -4942
- package/dist/index.umd.js +80 -68
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- 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/DigitalHuman.html +2 -2
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +22 -0
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +54 -46
- package/docs/classes/DigitalPlayground.html +2 -2
- package/docs/classes/DigitalStateMachine.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 +2 -2
- 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/DigitalPerformancePlugin.html +1 -1
- package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -1
- package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +2 -0
- 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.generatePolygonGeometry.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.getGeometryArea.html +1 -1
- package/docs/functions/Util.getGeometryInfo.html +1 -1
- 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.sculpt.transformUnit.html +2 -2
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.triangleArea.html +2 -2
- package/docs/functions/Util.triangleCenter.html +2 -2
- 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/functions/validatePolygon.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/BoxPosition.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/ChapterLocation.html +2 -2
- package/docs/interfaces/ChapterTimeInfo.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/DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalCameraState.html +2 -2
- package/docs/interfaces/DigitalChapter.html +2 -2
- package/docs/interfaces/DigitalDataPlayer.html +2 -2
- package/docs/interfaces/DigitalDataState.html +2 -2
- package/docs/interfaces/DigitalEffectKeyframe.html +2 -2
- package/docs/interfaces/DigitalEffectState.html +2 -2
- package/docs/interfaces/DigitalItemKeyframe.html +2 -2
- package/docs/interfaces/DigitalItemState.html +2 -2
- package/docs/interfaces/DigitalModelKeyframe.html +2 -2
- package/docs/interfaces/DigitalModelPlayer.html +4 -2
- package/docs/interfaces/DigitalModelPlayerEffect.html +2 -2
- package/docs/interfaces/DigitalModelPlayerItem.html +2 -2
- package/docs/interfaces/DigitalModelState.html +2 -2
- package/docs/interfaces/DigitalPerformancePluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.CameraState.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +5 -0
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +19 -0
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +5 -0
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +6 -6
- package/docs/interfaces/DigitalScript.html +2 -2
- package/docs/interfaces/DigitalSubTitleKeyframe.html +2 -2
- package/docs/interfaces/DigitalSubTitlePlayer.html +2 -2
- package/docs/interfaces/DigitalSubTitleState.html +2 -2
- package/docs/interfaces/ExtendedAnimationConfig.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/FloorplanServerStyledFloorplan.html +2 -2
- package/docs/interfaces/FloorplanServerStyledImage.html +2 -2
- package/docs/interfaces/GlobalProgress.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.ModelMakerPluginConfig.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/PlaybackController.html +2 -2
- package/docs/interfaces/PlaybackManager.html +2 -2
- package/docs/interfaces/PlaybackSession.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/ProgressBarEvents.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/StyledFloorplan.html +2 -2
- package/docs/interfaces/StyledFloorplanImage.html +2 -2
- package/docs/interfaces/StyledFloorplanRoomLabel.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/TraceManager.html +2 -2
- package/docs/interfaces/TracePoint.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/DigitalPerformanceV2.html +9 -3
- 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 +8 -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/BoxTag.html +2 -2
- 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/DigitalPerformancePluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +2 -2
- package/docs/types/DigitalPerformanceV2.CameraTransition.html +2 -2
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -1
- 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/FloorplanAffineTransform.html +1 -1
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerAffineTransform.html +1 -1
- 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/KeyframeType.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MaskPosition.html +2 -2
- package/docs/types/MaskTag.html +2 -2
- package/docs/types/MeasureEndReason.html +1 -1
- package/docs/types/MeasurePluginConfig.html +2 -2
- package/docs/types/MeasurePluginEventMap.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaOperations.html +1 -1
- 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/ModelMakerPluginType.TagOcclusionScope.html +2 -2
- package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.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/PolygonPosition.html +2 -2
- package/docs/types/PolygonTag.html +2 -2
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/ProgressListener.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/StateType.html +1 -1
- 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/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +1 -0
- 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/DigitalPerformancePlugin/controller/index.d.ts +15 -0
- package/libs/DigitalPerformancePlugin/controller/index.js +293 -252
- package/libs/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.d.ts +99 -0
- package/libs/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.js +244 -0
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +2 -0
- package/libs/DigitalPerformancePlugin/index.d.ts +2 -0
- package/libs/DigitalPerformancePlugin/index.js +14 -10
- package/libs/DigitalPerformanceV2Plugin/controller/index.d.ts +13 -0
- package/libs/DigitalPerformanceV2Plugin/controller/index.js +82 -41
- package/libs/DigitalPerformanceV2Plugin/core/Playground.d.ts +4 -0
- package/libs/DigitalPerformanceV2Plugin/core/Playground.js +23 -17
- package/libs/DigitalPerformanceV2Plugin/index/index.js +7 -3
- package/libs/DigitalPerformanceV2Plugin/index.d.ts +2 -0
- package/libs/DigitalPerformanceV2Plugin/index.js +9 -5
- package/libs/base/BasePlugin.js +5 -5
- package/libs/index.js +123 -119
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
var L = Object.defineProperty;
|
|
2
|
+
var K = Object.getOwnPropertySymbols;
|
|
3
|
+
var R = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var b = (p, e, t) => e in p ? L(p, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[e] = t, g = (p, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
|
|
6
|
+
R.call(e, t) && b(p, t, e[t]);
|
|
7
|
+
if (K)
|
|
8
|
+
for (var t of K(e))
|
|
9
|
+
D.call(e, t) && b(p, t, e[t]);
|
|
10
10
|
return p;
|
|
11
11
|
};
|
|
12
|
-
var h = (p, e, t) => (
|
|
12
|
+
var h = (p, e, t) => (b(p, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
13
|
var m = (p, e, t) => new Promise((r, a) => {
|
|
14
14
|
var s = (n) => {
|
|
15
15
|
try {
|
|
@@ -27,8 +27,9 @@ var m = (p, e, t) => new Promise((r, a) => {
|
|
|
27
27
|
o((t = t.apply(p, e)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as T from "three";
|
|
30
|
-
import { PerformancePlayground as
|
|
31
|
-
import { CameraTrack as
|
|
30
|
+
import { PerformancePlayground as G, getChapterModelDuration as x, getChapterDuration as V } from "../core/Playground.js";
|
|
31
|
+
import { CameraTrack as A } from "../core/CameraTrack.js";
|
|
32
|
+
import { DigitalPerformanceNameplate as B, normalizeDigitalPerformanceName as O } from "../../DigitalPerformancePlugin/core/DigitalPerformanceNameplate.js";
|
|
32
33
|
import "../../DigitalPerformancePlugin/core/DigitalPlayground.js";
|
|
33
34
|
import "@realsee/five/gltf-loader";
|
|
34
35
|
import "../../DigitalPerformancePlugin/core/DigitalHuman.js";
|
|
@@ -39,12 +40,12 @@ import "../core/PerformanceClock.js";
|
|
|
39
40
|
import "../core/CameraDirector.js";
|
|
40
41
|
import "../core/FiveModelCameraBridge.js";
|
|
41
42
|
import "../core/CameraSampler.js";
|
|
42
|
-
const
|
|
43
|
-
class
|
|
43
|
+
const z = "Dnalogel-DigitalPerformanceV2Plugin", I = "five-world";
|
|
44
|
+
class re {
|
|
44
45
|
constructor(e, t = {}) {
|
|
45
46
|
h(this, "five");
|
|
46
47
|
h(this, "config");
|
|
47
|
-
h(this, "NAME",
|
|
48
|
+
h(this, "NAME", z);
|
|
48
49
|
h(this, "playground");
|
|
49
50
|
h(this, "state", {
|
|
50
51
|
enabled: !0,
|
|
@@ -58,6 +59,9 @@ class $ {
|
|
|
58
59
|
h(this, "groupProgressListeners", /* @__PURE__ */ new Set());
|
|
59
60
|
h(this, "keyframesChangedListeners", /* @__PURE__ */ new Set());
|
|
60
61
|
h(this, "currentChapterChangedListeners", /* @__PURE__ */ new Set());
|
|
62
|
+
h(this, "nameplate");
|
|
63
|
+
h(this, "unsubNameplateRender", null);
|
|
64
|
+
h(this, "unsubNameplateCameraUpdate", null);
|
|
61
65
|
h(this, "unsubClockTick", null);
|
|
62
66
|
/**
|
|
63
67
|
* 进入编辑时的运镜内存态快照:以章节对象为 key,值为该章节相机关键帧的深拷贝;
|
|
@@ -94,13 +98,13 @@ class $ {
|
|
|
94
98
|
h(this, "chapterFloorModel", null);
|
|
95
99
|
/** five 'modeChange' 楼层重放监听的反订阅句柄(chapterFloorMap 启用时挂载,停用/reset/dispose 时清理) */
|
|
96
100
|
h(this, "unsubFloorModeChange", null);
|
|
97
|
-
this.five = e, this.config = g({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1 }, t), this.playground = new
|
|
101
|
+
this.five = e, this.config = g({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1 }, t), this.playground = new G(e, this.config.debug), this.nameplate = new B(e), this.unsubNameplateRender = this.playground.onRender(() => this.nameplate.update()), this.unsubNameplateCameraUpdate = this.five.on("cameraUpdate", () => this.nameplate.update()), this.unsubClockTick = this.playground.getClock().onTick(() => this.emitProgress());
|
|
98
102
|
}
|
|
99
103
|
/** 加载剧本:预加载资源 + 将模型加入 five 场景;autoPlay 时自动播放首章 */
|
|
100
104
|
loadScript(e) {
|
|
101
105
|
return m(this, null, function* () {
|
|
102
106
|
var t;
|
|
103
|
-
if (this.state.currentScript = e, this.playground.setScript(e), this.groupChapterTimeMapCache = null, this.groupChapterTimeMapCacheScript = null, this.chapterFloorMap = null, yield this.preloadResources(e), this.five && this.five.scene) {
|
|
107
|
+
if (this.state.currentScript = e, this.nameplate.setBindings([]), this.playground.setScript(e), this.groupChapterTimeMapCache = null, this.groupChapterTimeMapCacheScript = null, this.chapterFloorMap = null, yield this.preloadResources(e), this.five && this.five.scene) {
|
|
104
108
|
yield new Promise((a) => requestAnimationFrame(() => a()));
|
|
105
109
|
let r = 0;
|
|
106
110
|
if (e.chapters.forEach((a) => {
|
|
@@ -119,7 +123,7 @@ class $ {
|
|
|
119
123
|
/** 播放指定章节 */
|
|
120
124
|
playChapter(e) {
|
|
121
125
|
return m(this, null, function* () {
|
|
122
|
-
this.state.currentChapter = e, this.applyChapterFloor(this.getCurrentChapterIndex()), this.state.continuousPlaying = !1, this.state.playing = !0;
|
|
126
|
+
this.state.currentChapter = e, this.syncNameplates(e), this.applyChapterFloor(this.getCurrentChapterIndex()), this.state.continuousPlaying = !1, this.state.playing = !0;
|
|
123
127
|
try {
|
|
124
128
|
yield this.playground.playByChapter(e);
|
|
125
129
|
} finally {
|
|
@@ -151,7 +155,7 @@ class $ {
|
|
|
151
155
|
try {
|
|
152
156
|
for (; t >= 0 && t < e.length && this.state.continuousPlaying; ) {
|
|
153
157
|
let r = 0;
|
|
154
|
-
if (this.seekRedirect && this.seekRedirect.index === t && (r = this.seekRedirect.fromTime), this.seekRedirect = null, this.state.currentChapter = e[t], this.applyChapterFloor(t), this.emitProgress(), yield this.playground.playByChapter(e[t], r), this.seekRedirect) {
|
|
158
|
+
if (this.seekRedirect && this.seekRedirect.index === t && (r = this.seekRedirect.fromTime), this.seekRedirect = null, this.state.currentChapter = e[t], this.syncNameplates(e[t]), this.applyChapterFloor(t), this.emitProgress(), yield this.playground.playByChapter(e[t], r), this.seekRedirect) {
|
|
155
159
|
t = this.seekRedirect.index;
|
|
156
160
|
continue;
|
|
157
161
|
}
|
|
@@ -383,7 +387,7 @@ class $ {
|
|
|
383
387
|
name: (t = e == null ? void 0 : e.name) != null ? t : "camera",
|
|
384
388
|
type: "camera",
|
|
385
389
|
keyframes: this.serializeKeyframes(e),
|
|
386
|
-
coordinateSpace:
|
|
390
|
+
coordinateSpace: I
|
|
387
391
|
}
|
|
388
392
|
};
|
|
389
393
|
}
|
|
@@ -404,7 +408,7 @@ class $ {
|
|
|
404
408
|
name: (s = a.name) != null ? s : "camera",
|
|
405
409
|
type: "camera",
|
|
406
410
|
keyframes: this.serializeKeyframes(a),
|
|
407
|
-
coordinateSpace:
|
|
411
|
+
coordinateSpace: I
|
|
408
412
|
}
|
|
409
413
|
});
|
|
410
414
|
}), e;
|
|
@@ -422,7 +426,7 @@ class $ {
|
|
|
422
426
|
return;
|
|
423
427
|
const i = t[s], o = e[s];
|
|
424
428
|
let n = i.players.find((u) => u.type === "camera");
|
|
425
|
-
n || (n = { name: (l = o.name) != null ? l : "camera", type: "camera", keyframes: [] }, i.players.push(n)), n.keyframes = [...(c = o.keyframes) != null ? c : []].sort((u,
|
|
429
|
+
n || (n = { name: (l = o.name) != null ? l : "camera", type: "camera", keyframes: [] }, i.players.push(n)), n.keyframes = [...(c = o.keyframes) != null ? c : []].sort((u, d) => u.timeStamp - d.timeStamp), o.coordinateSpace && (n.coordinateSpace = o.coordinateSpace);
|
|
426
430
|
});
|
|
427
431
|
const r = this.cameraPlayerOf(this.state.currentChapter);
|
|
428
432
|
r && this.playground.setCameraKeyframes(r.keyframes);
|
|
@@ -461,26 +465,26 @@ class $ {
|
|
|
461
465
|
* 无任何可用模型几何(未加载/无 model player/包围盒空)时返回 undefined。
|
|
462
466
|
*/
|
|
463
467
|
deriveChapterModelFramingView(e) {
|
|
464
|
-
var
|
|
468
|
+
var f, k, F;
|
|
465
469
|
const t = this.getChapters();
|
|
466
470
|
if (e < 0 || e >= t.length)
|
|
467
471
|
return;
|
|
468
472
|
const r = t[e], a = new T.Box3();
|
|
469
473
|
let s = !1;
|
|
470
|
-
if (r.players.forEach((
|
|
471
|
-
var E, C,
|
|
472
|
-
if (
|
|
474
|
+
if (r.players.forEach((M) => {
|
|
475
|
+
var E, C, N, v;
|
|
476
|
+
if (M.type !== "model")
|
|
473
477
|
return;
|
|
474
|
-
const
|
|
478
|
+
const S = M, P = (N = (C = (E = this.playground) == null ? void 0 : E.loader) == null ? void 0 : C.getDigitalHuman) == null ? void 0 : N.call(C, S.model, S.id), y = P == null ? void 0 : P.container;
|
|
475
479
|
if (!y)
|
|
476
480
|
return;
|
|
477
|
-
(
|
|
481
|
+
(v = y.updateWorldMatrix) == null || v.call(y, !0, !0);
|
|
478
482
|
const w = new T.Box3().setFromObject(y);
|
|
479
483
|
w.isEmpty() || (a.union(w), s = !0);
|
|
480
484
|
}), !s || a.isEmpty())
|
|
481
485
|
return;
|
|
482
|
-
const i = a.getCenter(new T.Vector3()), o = a.getSize(new T.Vector3()).length(), n = (
|
|
483
|
-
return { target: i, longitude: l, latitude: c, distance:
|
|
486
|
+
const i = a.getCenter(new T.Vector3()), o = a.getSize(new T.Vector3()).length(), n = (F = (k = (f = this.five).getCurrentState) == null ? void 0 : k.call(f)) != null ? F : {}, l = typeof n.longitude == "number" ? n.longitude : Math.PI / 4, c = typeof n.latitude == "number" ? n.latitude : Math.PI / 5, u = typeof n.fov == "number" && n.fov > 0 ? n.fov : 60, d = this.clamp(o * 2.5, 4, 14);
|
|
487
|
+
return { target: i, longitude: l, latitude: c, distance: d, fov: u };
|
|
484
488
|
}
|
|
485
489
|
/**
|
|
486
490
|
* 设为当前编辑章节(不开始播放)。该次调用内联动完成:
|
|
@@ -493,7 +497,7 @@ class $ {
|
|
|
493
497
|
if (e < 0 || e >= t.length)
|
|
494
498
|
return;
|
|
495
499
|
const r = t[e];
|
|
496
|
-
this.playground.pause(), this.state.playing = !1, this.state.currentChapter = r, this.playground.prepareChapter(r, 0), this.applyChapterFloor(e), this.applyChapterDefaultView(e), this.state.selectedShotIndex = null, this.emitProgress(), this.emitCurrentChapterChanged();
|
|
500
|
+
this.playground.pause(), this.state.playing = !1, this.state.currentChapter = r, this.syncNameplates(r), this.playground.prepareChapter(r, 0), this.applyChapterFloor(e), this.applyChapterDefaultView(e), this.state.selectedShotIndex = null, this.emitProgress(), this.emitCurrentChapterChanged();
|
|
497
501
|
}
|
|
498
502
|
/** 当前章节信息:{ index, name, duration };duration 为该章节模型动画时长(排除相机 player) */
|
|
499
503
|
getCurrentChapterInfo() {
|
|
@@ -501,7 +505,7 @@ class $ {
|
|
|
501
505
|
return e ? {
|
|
502
506
|
index: this.getCurrentChapterIndex(),
|
|
503
507
|
name: e.name,
|
|
504
|
-
duration:
|
|
508
|
+
duration: x(e)
|
|
505
509
|
} : { index: -1, name: "", duration: 0 };
|
|
506
510
|
}
|
|
507
511
|
/** 注册当前章节变更监听(current-chapter-changed);返回反订阅函数 */
|
|
@@ -545,7 +549,7 @@ class $ {
|
|
|
545
549
|
getProgress() {
|
|
546
550
|
const e = this.playground.getClock(), t = e.getTime();
|
|
547
551
|
let r = e.getDuration();
|
|
548
|
-
r <= 0 && this.state.currentChapter && (r =
|
|
552
|
+
r <= 0 && this.state.currentChapter && (r = V(this.state.currentChapter));
|
|
549
553
|
const a = this.getChapters(), s = this.state.currentChapter, i = s ? a.findIndex((o) => o === s || o.name === s.name) : -1;
|
|
550
554
|
return { currentTime: t, totalTime: r, currentChapterIndex: i, totalChapters: a.length };
|
|
551
555
|
}
|
|
@@ -569,7 +573,7 @@ class $ {
|
|
|
569
573
|
const t = this.getChapters(), r = [];
|
|
570
574
|
let a = 0;
|
|
571
575
|
for (let s = 0; s < t.length; s++) {
|
|
572
|
-
const i =
|
|
576
|
+
const i = x(t[s]), o = a, n = o + i;
|
|
573
577
|
r.push({ index: s, name: t[s].name, startTime: o, endTime: n, duration: i }), a = n;
|
|
574
578
|
}
|
|
575
579
|
return this.groupChapterTimeMapCache = r, this.groupChapterTimeMapCacheScript = e, r;
|
|
@@ -613,7 +617,7 @@ class $ {
|
|
|
613
617
|
*/
|
|
614
618
|
setCurrentChapterForPlayback(e, t) {
|
|
615
619
|
const r = this.getChapters();
|
|
616
|
-
e < 0 || e >= r.length || (this.state.currentChapter = r[e], this.applyChapterFloor(e), this.playground.prepareChapter(r[e], t));
|
|
620
|
+
e < 0 || e >= r.length || (this.state.currentChapter = r[e], this.syncNameplates(r[e]), this.applyChapterFloor(e), this.playground.prepareChapter(r[e], t));
|
|
617
621
|
}
|
|
618
622
|
/**
|
|
619
623
|
* 跳转到组级时间(ms):映射为 (章节 index, 章节内时间),必要时切章后 setTimelineTo。
|
|
@@ -673,13 +677,50 @@ class $ {
|
|
|
673
677
|
getState() {
|
|
674
678
|
return { playing: this.state.playing, currentChapter: this.state.currentChapter };
|
|
675
679
|
}
|
|
680
|
+
/** 挂载模型头顶 2D 气泡名牌;编辑端与 C 端可使用同一套 API 和自定义渲染器。 */
|
|
681
|
+
mountNameplates(e, t) {
|
|
682
|
+
this.nameplate.mount(e, t), this.syncNameplates();
|
|
683
|
+
}
|
|
684
|
+
unmountNameplates() {
|
|
685
|
+
this.nameplate.unmount();
|
|
686
|
+
}
|
|
687
|
+
setNameplatesEnabled(e) {
|
|
688
|
+
this.nameplate.setEnabled(e);
|
|
689
|
+
}
|
|
690
|
+
/** 调试:显示/隐藏名牌绑定模型的世界包围盒(核对名牌锚点用)。 */
|
|
691
|
+
setNameplateBoundingBoxVisible(e) {
|
|
692
|
+
this.nameplate.setBoundingBoxVisible(e);
|
|
693
|
+
}
|
|
694
|
+
/** 实时修改角色名牌;只更新文本和当前剧本,不重新加载模型/动画。 */
|
|
695
|
+
updateModelName(e, t) {
|
|
696
|
+
var a;
|
|
697
|
+
const r = O(t);
|
|
698
|
+
(a = this.state.currentScript) == null || a.chapters.forEach((s) => {
|
|
699
|
+
s.players.forEach((i) => {
|
|
700
|
+
i.type === "model" && i.id === e && (i.name = r);
|
|
701
|
+
});
|
|
702
|
+
}), this.nameplate.updateName(e, r);
|
|
703
|
+
}
|
|
704
|
+
syncNameplates(e = this.state.currentChapter) {
|
|
705
|
+
if (!e) {
|
|
706
|
+
this.nameplate.setBindings([]);
|
|
707
|
+
return;
|
|
708
|
+
}
|
|
709
|
+
const t = [];
|
|
710
|
+
e.players.forEach((r) => {
|
|
711
|
+
if (r.type !== "model")
|
|
712
|
+
return;
|
|
713
|
+
const a = this.playground.loader.getDigitalHuman(r.model, r.id);
|
|
714
|
+
a && t.push({ id: r.id, player: r, model: a.model });
|
|
715
|
+
}), this.nameplate.setBindings(t);
|
|
716
|
+
}
|
|
676
717
|
/** 重置播放(保留已加载资源) */
|
|
677
718
|
reset() {
|
|
678
|
-
this.playground.reset(), this.state.playing = !1, this.state.continuousPlaying = !1, this.state.currentChapter = null, this.state.selectedShotIndex = null, this.seekRedirect = null, this.chapterFloorMap && (this.showModelFloor(), this.chapterFloorMap = null), this.chapterFloorModel = null, this.unhookFloorModeChange(), this.emitProgress();
|
|
719
|
+
this.playground.reset(), this.state.playing = !1, this.state.continuousPlaying = !1, this.state.currentChapter = null, this.state.selectedShotIndex = null, this.seekRedirect = null, this.nameplate.setBindings([]), this.chapterFloorMap && (this.showModelFloor(), this.chapterFloorMap = null), this.chapterFloorModel = null, this.unhookFloorModeChange(), this.emitProgress();
|
|
679
720
|
}
|
|
680
721
|
/** 销毁插件、释放资源 */
|
|
681
722
|
dispose() {
|
|
682
|
-
this.unsubClockTick && (this.unsubClockTick(), this.unsubClockTick = null), this.chapterFloorMap && (this.showModelFloor(), this.chapterFloorMap = null), this.chapterFloorModel = null, this.unhookFloorModeChange(), this.progressListeners.clear(), this.keyframesChangedListeners.clear(), this.currentChapterChangedListeners.clear(), this.groupProgressListeners.clear(), this.cameraEditSnapshot = null, this.playground.dispose();
|
|
723
|
+
this.unsubClockTick && (this.unsubClockTick(), this.unsubClockTick = null), this.chapterFloorMap && (this.showModelFloor(), this.chapterFloorMap = null), this.chapterFloorModel = null, this.unhookFloorModeChange(), this.progressListeners.clear(), this.keyframesChangedListeners.clear(), this.currentChapterChangedListeners.clear(), this.groupProgressListeners.clear(), this.cameraEditSnapshot = null, this.unsubNameplateRender && (this.unsubNameplateRender(), this.unsubNameplateRender = null), this.unsubNameplateCameraUpdate && (this.unsubNameplateCameraUpdate(), this.unsubNameplateCameraUpdate = null), this.nameplate.dispose(), this.playground.dispose();
|
|
683
724
|
}
|
|
684
725
|
/** 预加载模型 / 动画 / 道具(复用 Shared_Core 加载) */
|
|
685
726
|
preloadResources(e) {
|
|
@@ -691,14 +732,14 @@ class $ {
|
|
|
691
732
|
return;
|
|
692
733
|
const l = n;
|
|
693
734
|
t.push(l.model), r.push(n.id), l.keyframes.forEach((c) => {
|
|
694
|
-
var
|
|
735
|
+
var d, f;
|
|
695
736
|
if (!c.animation)
|
|
696
737
|
return;
|
|
697
738
|
a.add(c.animation.url);
|
|
698
739
|
const u = c.animation.item;
|
|
699
740
|
u && (s.push(u.url), i.set(u.url, {
|
|
700
|
-
position: (
|
|
701
|
-
rotation: (
|
|
741
|
+
position: (d = u.position) != null ? d : [0, 0, 0],
|
|
742
|
+
rotation: (f = u.rotation) != null ? f : [0, 0, 0]
|
|
702
743
|
}));
|
|
703
744
|
});
|
|
704
745
|
});
|
|
@@ -810,7 +851,7 @@ class $ {
|
|
|
810
851
|
const r = this.cameraPlayerOf(t[e]);
|
|
811
852
|
if (!r || r.keyframes.length === 0)
|
|
812
853
|
return null;
|
|
813
|
-
const a = new
|
|
854
|
+
const a = new A();
|
|
814
855
|
return a.setKeyframes(r.keyframes), a;
|
|
815
856
|
}
|
|
816
857
|
/** 深拷贝关键帧序列(数组字段亦深拷贝),供快照/还原使用(Mapview 位姿) */
|
|
@@ -829,5 +870,5 @@ class $ {
|
|
|
829
870
|
}
|
|
830
871
|
}
|
|
831
872
|
export {
|
|
832
|
-
|
|
873
|
+
re as default
|
|
833
874
|
};
|
|
@@ -17,6 +17,7 @@ export declare function getChapterModelDuration(chapter: DigitalChapter): number
|
|
|
17
17
|
* 复用 Shared_Core 的 DigitalPlayground 做模型/动画/道具加载与实例管理,
|
|
18
18
|
* 但用 PerformanceClock 统一驱动 DigitalHuman.renderAtTime,不使用 Legacy 的 playByChapter / 自驱 rAF。
|
|
19
19
|
*/
|
|
20
|
+
export type PerformanceRenderListener = (time: number, delta: number) => void;
|
|
20
21
|
export declare class PerformancePlayground {
|
|
21
22
|
/** 复用 Shared_Core 的加载与实例管理 */
|
|
22
23
|
readonly loader: DigitalPlayground;
|
|
@@ -25,12 +26,15 @@ export declare class PerformancePlayground {
|
|
|
25
26
|
private readonly clock;
|
|
26
27
|
private currentChapter;
|
|
27
28
|
private shownHumans;
|
|
29
|
+
private renderListeners;
|
|
28
30
|
private unsubTick;
|
|
29
31
|
/** 结束当前 pending 的 playByChapter Promise 的句柄(用于 reset 时干净收尾,避免 await 泄漏) */
|
|
30
32
|
private currentPlayResolve;
|
|
31
33
|
constructor(five: Five, debug?: boolean);
|
|
32
34
|
getClock(): PerformanceClock;
|
|
33
35
|
getCurrentChapter(): DigitalChapter | null;
|
|
36
|
+
/** 在模型 renderAtTime 完成后执行,供名牌等跟随 UI 使用。 */
|
|
37
|
+
onRender(listener: PerformanceRenderListener): () => void;
|
|
34
38
|
setScript(script: Parameters<DigitalPlayground['setScript']>[0]): void;
|
|
35
39
|
/**
|
|
36
40
|
* 播放指定章节:准备模型 → 统一时钟驱动 renderAtTime → 自然结束 resolve。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var k = Object.defineProperty;
|
|
2
2
|
var y = (s, e, t) => e in s ? k(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
-
var
|
|
3
|
+
var n = (s, e, t) => (y(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import "three";
|
|
5
5
|
import { DigitalPlayground as C } from "../../DigitalPerformancePlugin/core/DigitalPlayground.js";
|
|
6
6
|
import { PerformanceClock as T } from "./PerformanceClock.js";
|
|
@@ -21,7 +21,7 @@ function d(s) {
|
|
|
21
21
|
}
|
|
22
22
|
return e;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function K(s) {
|
|
25
25
|
let e = 0;
|
|
26
26
|
for (const t of s.players) {
|
|
27
27
|
if (t.type !== "model")
|
|
@@ -34,18 +34,19 @@ function I(s) {
|
|
|
34
34
|
function m(s, e, t) {
|
|
35
35
|
return s < e ? e : s > t ? t : s;
|
|
36
36
|
}
|
|
37
|
-
class
|
|
37
|
+
class I {
|
|
38
38
|
constructor(e, t = !1) {
|
|
39
39
|
/** 复用 Shared_Core 的加载与实例管理 */
|
|
40
|
-
|
|
40
|
+
n(this, "loader");
|
|
41
41
|
/** 运镜导演(消费 camera player,驱动 five 相机) */
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
n(this, "director");
|
|
43
|
+
n(this, "clock");
|
|
44
|
+
n(this, "currentChapter", null);
|
|
45
|
+
n(this, "shownHumans", []);
|
|
46
|
+
n(this, "renderListeners", /* @__PURE__ */ new Set());
|
|
47
|
+
n(this, "unsubTick", null);
|
|
47
48
|
/** 结束当前 pending 的 playByChapter Promise 的句柄(用于 reset 时干净收尾,避免 await 泄漏) */
|
|
48
|
-
|
|
49
|
+
n(this, "currentPlayResolve", null);
|
|
49
50
|
this.loader = new C(t), this.clock = new T(e), this.director = new w(e);
|
|
50
51
|
}
|
|
51
52
|
getClock() {
|
|
@@ -54,6 +55,10 @@ class V {
|
|
|
54
55
|
getCurrentChapter() {
|
|
55
56
|
return this.currentChapter;
|
|
56
57
|
}
|
|
58
|
+
/** 在模型 renderAtTime 完成后执行,供名牌等跟随 UI 使用。 */
|
|
59
|
+
onRender(e) {
|
|
60
|
+
return this.renderListeners.add(e), () => this.renderListeners.delete(e);
|
|
61
|
+
}
|
|
57
62
|
setScript(e) {
|
|
58
63
|
this.loader.setScript(e);
|
|
59
64
|
}
|
|
@@ -67,10 +72,10 @@ class V {
|
|
|
67
72
|
playByChapter(e, t = 0, r) {
|
|
68
73
|
this.stopTick(), this.currentChapter = e, this.hideShownHumans(), this.shownHumans = this.showChapterModels(e), this.bindChapterCamera(e, !0);
|
|
69
74
|
const i = d(e);
|
|
70
|
-
return new Promise((
|
|
75
|
+
return new Promise((o) => {
|
|
71
76
|
let c = null;
|
|
72
77
|
const a = () => {
|
|
73
|
-
this.currentPlayResolve === a && (this.currentPlayResolve = null, c && c(), this.stopTick(),
|
|
78
|
+
this.currentPlayResolve === a && (this.currentPlayResolve = null, c && c(), this.stopTick(), o());
|
|
74
79
|
};
|
|
75
80
|
this.currentPlayResolve = a;
|
|
76
81
|
const h = () => {
|
|
@@ -108,8 +113,8 @@ class V {
|
|
|
108
113
|
showChapterModels(e) {
|
|
109
114
|
const t = e.players.filter((i) => i.type === "model"), r = [];
|
|
110
115
|
for (const i of t) {
|
|
111
|
-
const
|
|
112
|
-
|
|
116
|
+
const o = this.loader.getDigitalHuman(i.model, i.id);
|
|
117
|
+
o && (o.model.visible = !0, o.container.visible = !0, o.prepareExternalDrive({ keyframes: i.keyframes, items: [], effects: [] }), r.push(o));
|
|
113
118
|
}
|
|
114
119
|
return r;
|
|
115
120
|
}
|
|
@@ -191,11 +196,12 @@ class V {
|
|
|
191
196
|
}
|
|
192
197
|
/** 释放资源 */
|
|
193
198
|
dispose() {
|
|
194
|
-
this.currentPlayResolve && this.currentPlayResolve(), this.stopTick(), this.clock.dispose(), this.director.dispose(), this.shownHumans = [], this.currentChapter = null, this.loader.dispose();
|
|
199
|
+
this.currentPlayResolve && this.currentPlayResolve(), this.stopTick(), this.clock.dispose(), this.director.dispose(), this.shownHumans = [], this.currentChapter = null, this.renderListeners.clear(), this.loader.dispose();
|
|
195
200
|
}
|
|
196
201
|
renderShownAt(e, t) {
|
|
197
202
|
for (const r of this.shownHumans)
|
|
198
203
|
r.renderAtTime(e, t);
|
|
204
|
+
this.renderListeners.forEach((r) => r(e, t));
|
|
199
205
|
}
|
|
200
206
|
hideShownHumans() {
|
|
201
207
|
for (const e of this.shownHumans)
|
|
@@ -207,7 +213,7 @@ class V {
|
|
|
207
213
|
}
|
|
208
214
|
}
|
|
209
215
|
export {
|
|
210
|
-
|
|
216
|
+
I as PerformancePlayground,
|
|
211
217
|
d as getChapterDuration,
|
|
212
|
-
|
|
218
|
+
K as getChapterModelDuration
|
|
213
219
|
};
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import r from "../controller/index.js";
|
|
2
|
-
|
|
2
|
+
import { DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH as i, DigitalPerformanceNameplate as l, normalizeDigitalPerformanceName as n } from "../../DigitalPerformancePlugin/core/DigitalPerformanceNameplate.js";
|
|
3
|
+
const e = (o, t) => new r(o, t), f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
4
|
__proto__: null,
|
|
5
|
+
DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH: i,
|
|
6
|
+
DigitalPerformanceNameplate: l,
|
|
4
7
|
DigitalPerformanceV2Plugin: e,
|
|
5
8
|
DigitalPerformanceV2PluginController: r,
|
|
6
|
-
default: e
|
|
9
|
+
default: e,
|
|
10
|
+
normalizeDigitalPerformanceName: n
|
|
7
11
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8
12
|
export {
|
|
9
13
|
e as DigitalPerformanceV2Plugin,
|
|
10
|
-
|
|
14
|
+
f as index
|
|
11
15
|
};
|
|
@@ -2,6 +2,8 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import DigitalPerformanceV2PluginController from './controller';
|
|
3
3
|
export { default as DigitalPerformanceV2PluginController } from './controller';
|
|
4
4
|
export type { V2Progress, V2ProgressListener } from './controller';
|
|
5
|
+
export { DigitalPerformanceNameplate, normalizeDigitalPerformanceName, DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH, } from '../DigitalPerformancePlugin/core/DigitalPerformanceNameplate';
|
|
6
|
+
export type { DigitalPerformanceNameplateBinding, DigitalPerformanceNameplateOptions, DigitalPerformanceNameplateRenderContext, } from '../DigitalPerformancePlugin/core/DigitalPerformanceNameplate';
|
|
5
7
|
export * from './typings';
|
|
6
8
|
export type DigitalPerformanceV2PluginExportInterface = InstanceType<typeof DigitalPerformanceV2PluginController>;
|
|
7
9
|
export type DigitalPerformanceV2PluginParamsInterface = ConstructorParameters<typeof DigitalPerformanceV2PluginController>[1];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import {
|
|
1
|
+
import { default as u } from "./controller/index.js";
|
|
2
|
+
import { DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH as E, DigitalPerformanceNameplate as N, normalizeDigitalPerformanceName as _ } from "../DigitalPerformancePlugin/core/DigitalPerformanceNameplate.js";
|
|
3
|
+
import { DigitalPerformanceV2Plugin as L, DigitalPerformanceV2Plugin as M } from "./index/index.js";
|
|
3
4
|
import "three";
|
|
4
5
|
import "./core/Playground.js";
|
|
5
6
|
import "../DigitalPerformancePlugin/core/DigitalPlayground.js";
|
|
@@ -14,7 +15,10 @@ import "./core/CameraSampler.js";
|
|
|
14
15
|
import "./core/CameraDirector.js";
|
|
15
16
|
import "./core/FiveModelCameraBridge.js";
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
E as DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH,
|
|
19
|
+
N as DigitalPerformanceNameplate,
|
|
20
|
+
L as DigitalPerformanceV2Plugin,
|
|
21
|
+
u as DigitalPerformanceV2PluginController,
|
|
22
|
+
M as default,
|
|
23
|
+
_ as normalizeDigitalPerformanceName
|
|
20
24
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var e = Object.defineProperty;
|
|
2
2
|
var s = (o, t, i) => t in o ? e(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
|
|
3
3
|
var r = (o, t, i) => (s(o, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
|
-
import { Subscribe as
|
|
4
|
+
import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "../vendor/hammerjs/hammer.js";
|
|
@@ -15,7 +15,7 @@ import "../shared-utils/three/blink.js";
|
|
|
15
15
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
16
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
17
17
|
import "../vendor/earcut/src/earcut.js";
|
|
18
|
-
import { FiveUtil as
|
|
18
|
+
import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
|
|
19
19
|
import { DEFAULT_STATIC_PREFIX as p } from "../shared-utils/url/defaultUrls.js";
|
|
20
20
|
import "../shared-utils/five/FivePuppet.js";
|
|
21
21
|
let I = class {
|
|
@@ -23,7 +23,7 @@ let I = class {
|
|
|
23
23
|
/**
|
|
24
24
|
* @realsee/dnalogel 版本号
|
|
25
25
|
*/
|
|
26
|
-
r(this, "VERSION", "3.81.
|
|
26
|
+
r(this, "VERSION", "3.81.11-alpha.2");
|
|
27
27
|
r(this, "NAME");
|
|
28
28
|
r(this, "five");
|
|
29
29
|
r(this, "workUtil");
|
|
@@ -31,9 +31,9 @@ let I = class {
|
|
|
31
31
|
/**
|
|
32
32
|
* @description: 插件事件钩子
|
|
33
33
|
*/
|
|
34
|
-
r(this, "hooks", new
|
|
34
|
+
r(this, "hooks", new l());
|
|
35
35
|
r(this, "staticPrefix", p);
|
|
36
|
-
this.five = t, this.fiveUtil = new
|
|
36
|
+
this.five = t, this.fiveUtil = new m(t), this.workUtil = this.fiveUtil.workUtil, i != null && i.staticPrefix && (this.staticPrefix = i.staticPrefix);
|
|
37
37
|
}
|
|
38
38
|
set workCode(t) {
|
|
39
39
|
this.workUtil.workCode = t, this.onWorkCodeChange();
|