@realsee/dnalogel 3.80.8-alpha.2 → 3.81.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (605) hide show
  1. package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +18 -0
  2. package/dist/DigitalPerformanceV2Plugin/controller/index.d.ts +351 -0
  3. package/dist/DigitalPerformanceV2Plugin/core/CameraDirector.d.ts +61 -0
  4. package/dist/DigitalPerformanceV2Plugin/core/CameraSampler.d.ts +53 -0
  5. package/dist/DigitalPerformanceV2Plugin/core/CameraTrack.d.ts +21 -0
  6. package/dist/DigitalPerformanceV2Plugin/core/FiveModelCameraBridge.d.ts +39 -0
  7. package/dist/DigitalPerformanceV2Plugin/core/PerformanceClock.d.ts +55 -0
  8. package/dist/DigitalPerformanceV2Plugin/core/Playground.d.ts +106 -0
  9. package/dist/DigitalPerformanceV2Plugin/core/shared.d.ts +4 -0
  10. package/dist/DigitalPerformanceV2Plugin/index.d.ts +9 -0
  11. package/dist/DigitalPerformanceV2Plugin/typings/index.d.ts +113 -0
  12. package/dist/index.cjs.js +84 -101
  13. package/dist/index.d.ts +1 -0
  14. package/dist/index.js +8739 -7470
  15. package/dist/index.umd.js +77 -94
  16. package/docs/assets/navigation.js +1 -1
  17. package/docs/assets/search.js +1 -1
  18. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  19. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  20. package/docs/classes/CSS3DRender.html +2 -2
  21. package/docs/classes/DigitalHuman.html +11 -2
  22. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +165 -0
  23. package/docs/classes/DigitalPlayground.html +2 -2
  24. package/docs/classes/DigitalStateMachine.html +2 -2
  25. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  26. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  27. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  28. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  29. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  30. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  31. package/docs/classes/ModelRoomLabelController.html +2 -2
  32. package/docs/classes/MoveController.html +2 -2
  33. package/docs/classes/Object3DHelperController.html +2 -2
  34. package/docs/classes/PaintBrush.html +2 -2
  35. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  36. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  37. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  38. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  39. package/docs/classes/PanoTagPluginController.html +2 -2
  40. package/docs/classes/Sculpt.html +2 -2
  41. package/docs/classes/Util.BetterTween.html +2 -2
  42. package/docs/classes/Util.FiveDomEvents.html +2 -2
  43. package/docs/classes/Util.FivePuppet.html +2 -2
  44. package/docs/classes/Util.Interval.html +2 -2
  45. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  46. package/docs/classes/Util.LightTag.html +2 -2
  47. package/docs/classes/Util.LineSegments.html +2 -2
  48. package/docs/classes/Util.Magnifier.html +2 -2
  49. package/docs/classes/Util.Object3D.html +2 -2
  50. package/docs/classes/Util.PointDomHelper.html +2 -2
  51. package/docs/classes/Util.PointHelper.html +2 -2
  52. package/docs/classes/Util.PointSelector.html +2 -2
  53. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  54. package/docs/classes/Util.Rectangle.html +2 -2
  55. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  56. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  57. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  58. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  59. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  60. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  61. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  62. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  63. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  64. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  65. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  66. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  67. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  68. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  69. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  70. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  71. package/docs/classes/WalkController.html +2 -2
  72. package/docs/enums/CameraMovementEffect.html +2 -2
  73. package/docs/enums/ContentType.html +2 -2
  74. package/docs/enums/DIRECTION.html +2 -2
  75. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  76. package/docs/enums/DimensionType.html +2 -2
  77. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  78. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  79. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  80. package/docs/enums/PointType.html +2 -2
  81. package/docs/enums/Rotation.html +2 -2
  82. package/docs/functions/AreaMakerPlugin.html +1 -1
  83. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  84. package/docs/functions/CameraMovementPlugin.html +2 -2
  85. package/docs/functions/CruisePlugin.html +1 -1
  86. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  87. package/docs/functions/DigitalPerformancePlugin.html +1 -1
  88. package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -0
  89. package/docs/functions/FloorplanGuidePlugin.html +1 -1
  90. package/docs/functions/GuideLinePlugin.html +1 -1
  91. package/docs/functions/ItemLabelPlugin.html +1 -1
  92. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  93. package/docs/functions/MeasurePlugin.html +1 -1
  94. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  95. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  96. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  97. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  98. package/docs/functions/ModelMakerPlugin.html +1 -1
  99. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  100. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  101. package/docs/functions/ModelViewPlugin.html +2 -2
  102. package/docs/functions/MovePlugin.html +1 -1
  103. package/docs/functions/Object3DHelperPlugin.html +1 -1
  104. package/docs/functions/PanoCompassPlugin.html +1 -1
  105. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  106. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  107. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  108. package/docs/functions/PanoMeasurePlugin.html +1 -1
  109. package/docs/functions/PanoRulerPlugin.html +2 -2
  110. package/docs/functions/PanoRulerProPlugin.html +2 -2
  111. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  112. package/docs/functions/PanoTagPlugin.html +1 -1
  113. package/docs/functions/PanoVideoPlugin.html +2 -2
  114. package/docs/functions/PipelinePlugin.html +1 -1
  115. package/docs/functions/SculptPlugin.html +2 -2
  116. package/docs/functions/SculptPluginForFive.html +2 -2
  117. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  118. package/docs/functions/Util.awaitNextFrame.html +1 -1
  119. package/docs/functions/Util.blink.html +2 -2
  120. package/docs/functions/Util.blinkWithPreset.html +2 -2
  121. package/docs/functions/Util.bounding.html +1 -1
  122. package/docs/functions/Util.boundingBox.html +1 -1
  123. package/docs/functions/Util.boundingSphere.html +1 -1
  124. package/docs/functions/Util.boxVertex.html +2 -2
  125. package/docs/functions/Util.boxVertexes.html +1 -1
  126. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  127. package/docs/functions/Util.cleanup.html +2 -2
  128. package/docs/functions/Util.convexHull.html +2 -2
  129. package/docs/functions/Util.equal.html +2 -2
  130. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  131. package/docs/functions/Util.generatePolygonGeometry.html +2 -2
  132. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  133. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  134. package/docs/functions/Util.getFrameTime.html +2 -2
  135. package/docs/functions/Util.getGeometryArea.html +1 -1
  136. package/docs/functions/Util.getGeometryInfo.html +1 -1
  137. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  138. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  139. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  140. package/docs/functions/Util.inside.html +1 -1
  141. package/docs/functions/Util.isModelLike.html +1 -1
  142. package/docs/functions/Util.isNil.html +2 -2
  143. package/docs/functions/Util.isPanoramaLike.html +1 -1
  144. package/docs/functions/Util.lookObject.html +2 -2
  145. package/docs/functions/Util.lookPoint.html +2 -2
  146. package/docs/functions/Util.nextFrame.html +1 -1
  147. package/docs/functions/Util.notNil.html +2 -2
  148. package/docs/functions/Util.reblink.html +2 -2
  149. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  150. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  151. package/docs/functions/Util.sculpt.createBox.html +1 -1
  152. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  153. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  154. package/docs/functions/Util.sculpt.createLine.html +2 -2
  155. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  156. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  157. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  158. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  159. package/docs/functions/Util.sculpt.transformUnit.html +1 -1
  160. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
  161. package/docs/functions/Util.tag.html +1 -1
  162. package/docs/functions/Util.triangleArea.html +2 -2
  163. package/docs/functions/Util.triangleCenter.html +2 -2
  164. package/docs/functions/Util.tweenProgress.html +1 -1
  165. package/docs/functions/Util.uuid.html +2 -2
  166. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  167. package/docs/functions/Util.worldBounding.html +1 -1
  168. package/docs/functions/Util.worldBoundingBox.html +1 -1
  169. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  170. package/docs/functions/createPolyline.html +2 -2
  171. package/docs/functions/pluginFlag.html +1 -1
  172. package/docs/functions/validatePolygon.html +1 -1
  173. package/docs/hierarchy.html +1 -1
  174. package/docs/index.html +2 -2
  175. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  176. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  177. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  178. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  179. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  180. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  181. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  182. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  183. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  184. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  185. package/docs/interfaces/BoxAnimationConfig.html +2 -2
  186. package/docs/interfaces/BoxPosition.html +2 -2
  187. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  188. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  189. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  190. package/docs/interfaces/ChapterLocation.html +2 -2
  191. package/docs/interfaces/ChapterTimeInfo.html +2 -2
  192. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  193. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  194. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  195. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  196. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  197. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  198. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  199. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  200. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  201. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  202. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  203. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  204. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  205. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  206. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  207. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  208. package/docs/interfaces/DigitalCameraKeyframe.html +2 -2
  209. package/docs/interfaces/DigitalCameraPlayer.html +2 -2
  210. package/docs/interfaces/DigitalCameraState.html +2 -2
  211. package/docs/interfaces/DigitalChapter.html +2 -2
  212. package/docs/interfaces/DigitalDataPlayer.html +2 -2
  213. package/docs/interfaces/DigitalDataState.html +2 -2
  214. package/docs/interfaces/DigitalEffectKeyframe.html +2 -2
  215. package/docs/interfaces/DigitalEffectState.html +2 -2
  216. package/docs/interfaces/DigitalItemKeyframe.html +2 -2
  217. package/docs/interfaces/DigitalItemState.html +2 -2
  218. package/docs/interfaces/DigitalModelKeyframe.html +2 -2
  219. package/docs/interfaces/DigitalModelPlayer.html +2 -2
  220. package/docs/interfaces/DigitalModelPlayerEffect.html +2 -2
  221. package/docs/interfaces/DigitalModelPlayerItem.html +2 -2
  222. package/docs/interfaces/DigitalModelState.html +2 -2
  223. package/docs/interfaces/DigitalPerformancePluginConfig.html +2 -2
  224. package/docs/interfaces/DigitalPerformanceV2.CameraState.html +13 -0
  225. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +23 -0
  226. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +7 -0
  227. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +7 -0
  228. package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +13 -0
  229. package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +18 -0
  230. package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +10 -0
  231. package/docs/interfaces/DigitalScript.html +2 -2
  232. package/docs/interfaces/DigitalSubTitleKeyframe.html +2 -2
  233. package/docs/interfaces/DigitalSubTitlePlayer.html +2 -2
  234. package/docs/interfaces/DigitalSubTitleState.html +2 -2
  235. package/docs/interfaces/ExtendedAnimationConfig.html +2 -2
  236. package/docs/interfaces/FloorplanBounding.html +2 -2
  237. package/docs/interfaces/FloorplanData.html +2 -2
  238. package/docs/interfaces/FloorplanEntrance.html +2 -2
  239. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  240. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  241. package/docs/interfaces/FloorplanFloorData.html +2 -2
  242. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  243. package/docs/interfaces/FloorplanObserver.html +2 -2
  244. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  245. package/docs/interfaces/FloorplanPosition.html +2 -2
  246. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  247. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  248. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  249. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  250. package/docs/interfaces/FloorplanServerData.html +2 -2
  251. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  252. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  253. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  254. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  255. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  256. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  257. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  258. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  259. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  260. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  261. package/docs/interfaces/GlobalProgress.html +2 -2
  262. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  263. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  264. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  265. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  266. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  267. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  268. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  269. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  270. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  271. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  272. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  273. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  274. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  275. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  276. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  277. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  278. package/docs/interfaces/HelperOffset.html +2 -2
  279. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  280. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  281. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  282. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  283. package/docs/interfaces/MinMax.html +2 -2
  284. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  285. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  286. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  287. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  288. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  289. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  290. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  291. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  292. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  293. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  294. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  295. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  296. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  297. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  298. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  299. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  300. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  301. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  302. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  303. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  304. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  305. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  306. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  307. package/docs/interfaces/Object3DHelperState.html +2 -2
  308. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  309. package/docs/interfaces/PaintBrushAction.html +2 -2
  310. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  311. package/docs/interfaces/PaintBrushState.html +2 -2
  312. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  313. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  314. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  315. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  316. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  317. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  318. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  319. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  320. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  321. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  322. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  323. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  324. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  325. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  326. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  327. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  328. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  329. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  330. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  331. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  332. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  333. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  334. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  335. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  336. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  337. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  338. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  339. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  340. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  341. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  342. package/docs/interfaces/PluginEventMap.html +2 -2
  343. package/docs/interfaces/Point.html +2 -2
  344. package/docs/interfaces/ProgressBarEvents.html +2 -2
  345. package/docs/interfaces/Room.html +2 -2
  346. package/docs/interfaces/RoomInfo.html +2 -2
  347. package/docs/interfaces/RoomLabel.html +2 -2
  348. package/docs/interfaces/RoomRules.html +1 -1
  349. package/docs/interfaces/Rooms.html +1 -1
  350. package/docs/interfaces/Scissor.html +2 -2
  351. package/docs/interfaces/SculptConfig.html +2 -2
  352. package/docs/interfaces/State.html +2 -2
  353. package/docs/interfaces/TagCacheInterface.html +2 -2
  354. package/docs/interfaces/TagConfig.html +2 -2
  355. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  356. package/docs/interfaces/TagIconAnimationConfig.html +2 -2
  357. package/docs/interfaces/TagIconUrl.html +2 -2
  358. package/docs/interfaces/TagObjectGroup.html +2 -2
  359. package/docs/interfaces/TagState.html +2 -2
  360. package/docs/interfaces/TagStyle.html +2 -2
  361. package/docs/interfaces/Tags.html +2 -2
  362. package/docs/interfaces/TemporaryState.html +2 -2
  363. package/docs/interfaces/TraceManager.html +2 -2
  364. package/docs/interfaces/TracePoint.html +2 -2
  365. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  366. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  367. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  368. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  369. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  370. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  371. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  372. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  373. package/docs/interfaces/Util.ObjectInitialState.html +2 -2
  374. package/docs/interfaces/Util.PointIntersection.html +2 -2
  375. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  376. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  377. package/docs/modules/AreaMakerPluginType.html +2 -2
  378. package/docs/modules/CruisePluginTypes.html +2 -2
  379. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  380. package/docs/modules/DigitalPerformanceV2.html +16 -0
  381. package/docs/modules/GuideLineItem.html +2 -2
  382. package/docs/modules/GuideLineModeItem.html +2 -2
  383. package/docs/modules/GuideLinePluginType.html +2 -2
  384. package/docs/modules/ModelMakerPluginType.html +2 -2
  385. package/docs/modules/PanoVideoPluginType.html +2 -2
  386. package/docs/modules/SculptData.html +2 -2
  387. package/docs/modules/SculptType.html +2 -2
  388. package/docs/modules/Util.html +2 -2
  389. package/docs/modules/Util.sculpt.html +2 -2
  390. package/docs/modules.html +3 -2
  391. package/docs/types/AddObject3DHelperConfig.html +2 -2
  392. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  393. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  394. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  395. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  396. package/docs/types/ArrayPosition.html +1 -1
  397. package/docs/types/AudioAppearance.html +1 -1
  398. package/docs/types/BoxTag.html +2 -2
  399. package/docs/types/CSS3DRenderExportType.html +1 -1
  400. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  401. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  402. package/docs/types/ClassFunctionParameters.html +1 -1
  403. package/docs/types/Color.html +1 -1
  404. package/docs/types/ContentTypeConfigKey.html +1 -1
  405. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  406. package/docs/types/ContentTypeMap.html +1 -1
  407. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  408. package/docs/types/Create3DElementReturnType.html +1 -1
  409. package/docs/types/CruisePluginExportType.html +1 -1
  410. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  411. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  412. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  413. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  414. package/docs/types/DeprecatedTagProperty.html +2 -2
  415. package/docs/types/DigitalPerformancePluginExportInterface.html +1 -1
  416. package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -1
  417. package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +7 -0
  418. package/docs/types/DigitalPerformanceV2.CameraTransition.html +7 -0
  419. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -0
  420. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -0
  421. package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -0
  422. package/docs/types/Direction-1.html +1 -1
  423. package/docs/types/Direction4.html +1 -1
  424. package/docs/types/ElementRenderer.html +2 -2
  425. package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
  426. package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
  427. package/docs/types/FloorplanRuleLabels.html +2 -2
  428. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  429. package/docs/types/GuideLinePluginExportType.html +1 -1
  430. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  431. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  432. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  433. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  434. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  435. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  436. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  437. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  438. package/docs/types/HelperEventMap.html +1 -1
  439. package/docs/types/InternalHelperEventMap.html +1 -1
  440. package/docs/types/KeyframeType.html +1 -1
  441. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  442. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  443. package/docs/types/MaskPosition.html +2 -2
  444. package/docs/types/MaskTag.html +2 -2
  445. package/docs/types/MeasureEndReason.html +1 -1
  446. package/docs/types/MeasurePluginConfig.html +2 -2
  447. package/docs/types/MeasurePluginEventMap.html +1 -1
  448. package/docs/types/MediaData.html +2 -2
  449. package/docs/types/MediaStore.html +1 -1
  450. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  451. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  452. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  453. package/docs/types/ModelId.html +1 -1
  454. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  455. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  456. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  457. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  458. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  459. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  460. package/docs/types/MoveArgs.html +2 -2
  461. package/docs/types/MoveOpts.html +2 -2
  462. package/docs/types/Object3DHelperEventMap.html +1 -1
  463. package/docs/types/ObjectFit.html +1 -1
  464. package/docs/types/PaintBrushEventMap.html +1 -1
  465. package/docs/types/PanoCompassPluginData.html +1 -1
  466. package/docs/types/PanoCompassPluginExportType.html +1 -1
  467. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  468. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  469. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  470. package/docs/types/PanoIndex.html +1 -1
  471. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  472. package/docs/types/PanoMeasureReturnType.html +1 -1
  473. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  474. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  475. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  476. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  477. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  478. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  479. package/docs/types/PipelinePluginParameterType.html +1 -1
  480. package/docs/types/PipelinePluginReturnType.html +1 -1
  481. package/docs/types/PlaneTag.html +2 -2
  482. package/docs/types/Point2DTag.html +2 -2
  483. package/docs/types/Point3DTag.html +2 -2
  484. package/docs/types/PointTagInstance.html +1 -1
  485. package/docs/types/PolygonPosition.html +2 -2
  486. package/docs/types/PolygonTag.html +2 -2
  487. package/docs/types/Position.html +1 -1
  488. package/docs/types/PositionFrom.html +1 -1
  489. package/docs/types/ProgressListener.html +1 -1
  490. package/docs/types/RotateArgs.html +2 -2
  491. package/docs/types/RotateOpts.html +2 -2
  492. package/docs/types/RuleLabelsKey.html +1 -1
  493. package/docs/types/RuleLabelsValue.html +1 -1
  494. package/docs/types/ScaleCallback.html +1 -1
  495. package/docs/types/ScalePosition.html +2 -2
  496. package/docs/types/SculptData.BoxData.html +1 -1
  497. package/docs/types/SculptData.CircleData.html +1 -1
  498. package/docs/types/SculptData.CylinderData.html +1 -1
  499. package/docs/types/SculptData.PointData.html +1 -1
  500. package/docs/types/SculptData.PolygonData.html +1 -1
  501. package/docs/types/SculptData.PolylineData.html +1 -1
  502. package/docs/types/SculptData.PrismData.html +1 -1
  503. package/docs/types/SculptData.RectangleData.html +1 -1
  504. package/docs/types/SculptType.Theme.html +2 -2
  505. package/docs/types/StateType.html +1 -1
  506. package/docs/types/StickType.html +1 -1
  507. package/docs/types/Tag.html +2 -2
  508. package/docs/types/Tag2D.html +2 -2
  509. package/docs/types/Tag3D.html +2 -2
  510. package/docs/types/TagClickParams.html +1 -1
  511. package/docs/types/TagConfigByKey.html +1 -1
  512. package/docs/types/TagContentType.html +1 -1
  513. package/docs/types/TagContentTypeMapping.html +1 -1
  514. package/docs/types/TagDimensionType.html +1 -1
  515. package/docs/types/TagElement.html +2 -2
  516. package/docs/types/TagEvents.html +1 -1
  517. package/docs/types/TagGLTFObject.html +1 -1
  518. package/docs/types/TagHooks.html +1 -1
  519. package/docs/types/TagId.html +1 -1
  520. package/docs/types/TagInstance.html +1 -1
  521. package/docs/types/TagPlacement.html +2 -2
  522. package/docs/types/TagPointType.html +2 -2
  523. package/docs/types/TagRendererMap.html +1 -1
  524. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  525. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  526. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  527. package/docs/types/Util.AdherePoint.html +2 -2
  528. package/docs/types/Util.PointSelectorConfig.html +1 -1
  529. package/docs/types/Util.SupportedTarget.html +2 -2
  530. package/docs/types/Util.Target.html +2 -2
  531. package/docs/types/Util.ThreeObject.html +2 -2
  532. package/docs/types/WorkCode.html +1 -1
  533. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  534. package/docs/variables/PLUGIN.html +1 -1
  535. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  536. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  537. package/docs/variables/Util.ANIME_PRESETS.html +2 -2
  538. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  539. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
  540. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  541. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  542. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  543. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  544. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  545. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  546. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  547. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  548. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  549. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  550. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  551. package/docs/variables/defaultGlobalConfig.html +1 -1
  552. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  553. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  554. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  555. package/libs/CruisePlugin/Move.js +2 -4
  556. package/libs/CruisePlugin/Work.js +2 -4
  557. package/libs/CruisePlugin/index.js +6 -8
  558. package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +18 -0
  559. package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +198 -110
  560. package/libs/DigitalPerformanceV2Plugin/controller/index.d.ts +351 -0
  561. package/libs/DigitalPerformanceV2Plugin/controller/index.js +750 -0
  562. package/libs/DigitalPerformanceV2Plugin/core/CameraDirector.d.ts +61 -0
  563. package/libs/DigitalPerformanceV2Plugin/core/CameraDirector.js +101 -0
  564. package/libs/DigitalPerformanceV2Plugin/core/CameraSampler.d.ts +53 -0
  565. package/libs/DigitalPerformanceV2Plugin/core/CameraSampler.js +91 -0
  566. package/libs/DigitalPerformanceV2Plugin/core/CameraTrack.d.ts +21 -0
  567. package/libs/DigitalPerformanceV2Plugin/core/CameraTrack.js +32 -0
  568. package/libs/DigitalPerformanceV2Plugin/core/FiveModelCameraBridge.d.ts +39 -0
  569. package/libs/DigitalPerformanceV2Plugin/core/FiveModelCameraBridge.js +72 -0
  570. package/libs/DigitalPerformanceV2Plugin/core/PerformanceClock.d.ts +55 -0
  571. package/libs/DigitalPerformanceV2Plugin/core/PerformanceClock.js +98 -0
  572. package/libs/DigitalPerformanceV2Plugin/core/Playground.d.ts +106 -0
  573. package/libs/DigitalPerformanceV2Plugin/core/Playground.js +209 -0
  574. package/libs/DigitalPerformanceV2Plugin/core/shared.d.ts +4 -0
  575. package/libs/DigitalPerformanceV2Plugin/core/shared.js +12 -0
  576. package/libs/DigitalPerformanceV2Plugin/index/index.js +11 -0
  577. package/libs/DigitalPerformanceV2Plugin/index.d.ts +9 -0
  578. package/libs/DigitalPerformanceV2Plugin/index.js +20 -0
  579. package/libs/DigitalPerformanceV2Plugin/typings/index.d.ts +113 -0
  580. package/libs/DigitalPerformanceV2Plugin/typings/index.js +1 -0
  581. package/libs/GuideLinePlugin/Controller.js +4 -6
  582. package/libs/GuideLinePlugin/GuideLineItem.js +2 -4
  583. package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -4
  584. package/libs/GuideLinePlugin/index.js +6 -8
  585. package/libs/PanoTagPlugin/Components/Tag/index.js +2 -4
  586. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -4
  587. package/libs/PanoTagPlugin/Components/TagItem.js +2 -4
  588. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +2 -4
  589. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +2 -4
  590. package/libs/PanoTagPlugin/controller/TagRender.js +2 -4
  591. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -4
  592. package/libs/PanoTagPlugin/controller/index.js +5 -7
  593. package/libs/PanoTagPlugin/index.js +11 -13
  594. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +126 -129
  595. package/libs/base/BasePlugin.js +1 -1
  596. package/libs/index.d.ts +1 -0
  597. package/libs/index.js +167 -160
  598. package/libs/shared-utils/logger.js +1 -1
  599. package/package.json +2 -1
  600. package/dist/shared-utils/three/StackedAlphaVideoMaterial.d.ts +0 -12
  601. package/dist/shared-utils/three/isStackedAlphaVideo.d.ts +0 -1
  602. package/libs/shared-utils/three/StackedAlphaVideoMaterial.d.ts +0 -12
  603. package/libs/shared-utils/three/StackedAlphaVideoMaterial.js +0 -55
  604. package/libs/shared-utils/three/isStackedAlphaVideo.d.ts +0 -1
  605. package/libs/shared-utils/three/isStackedAlphaVideo.js +0 -7
@@ -0,0 +1,106 @@
1
+ import type { Five } from '@realsee/five';
2
+ import { DigitalPlayground } from './shared';
3
+ import type { DigitalChapter } from './shared';
4
+ import { PerformanceClock } from './PerformanceClock';
5
+ import { CameraDirector } from './CameraDirector';
6
+ import type { DigitalCameraKeyframe, CameraState } from '../typings';
7
+ /** 取章节时长:所有含关键帧的 player 末帧 timeStamp 的最大值 */
8
+ export declare function getChapterDuration(chapter: DigitalChapter): number;
9
+ /**
10
+ * 取章节「模型动画」时长:仅统计 model players 末帧 timeStamp 的最大值(排除 camera player)。
11
+ * 章节总时长以模型动画为准;相机关键帧应被钳制为不超过该总时长,不参与时长计算。
12
+ */
13
+ export declare function getChapterModelDuration(chapter: DigitalChapter): number;
14
+ /**
15
+ * PerformancePlayground —— V2 的章节播放编排(统一时钟驱动)
16
+ *
17
+ * 复用 Shared_Core 的 DigitalPlayground 做模型/动画/道具加载与实例管理,
18
+ * 但用 PerformanceClock 统一驱动 DigitalHuman.renderAtTime,不使用 Legacy 的 playByChapter / 自驱 rAF。
19
+ */
20
+ export declare class PerformancePlayground {
21
+ /** 复用 Shared_Core 的加载与实例管理 */
22
+ readonly loader: DigitalPlayground;
23
+ /** 运镜导演(消费 camera player,驱动 five 相机) */
24
+ readonly director: CameraDirector;
25
+ private readonly clock;
26
+ private currentChapter;
27
+ private shownHumans;
28
+ private unsubTick;
29
+ /** 结束当前 pending 的 playByChapter Promise 的句柄(用于 reset 时干净收尾,避免 await 泄漏) */
30
+ private currentPlayResolve;
31
+ constructor(five: Five, debug?: boolean);
32
+ getClock(): PerformanceClock;
33
+ getCurrentChapter(): DigitalChapter | null;
34
+ setScript(script: Parameters<DigitalPlayground['setScript']>[0]): void;
35
+ /**
36
+ * 播放指定章节:准备模型 → 统一时钟驱动 renderAtTime → 自然结束 resolve。
37
+ * 仅处理模型 player 的渲染;相机运镜在后续任务(CameraDirector 接入)中叠加。
38
+ * @param opts.prepare 加法式可选:在轨道绑定/attach 完成「之后」、时钟 start「之前」被 await 的钩子,
39
+ * 用于接管前 prepare(无突变 user→director 切换)。缺省(undefined)保持既有行为不变。
40
+ * prepare 在时钟启动前执行,故不计入播放时间(时钟不推进)。失败时静默降级、仍照常播放。
41
+ */
42
+ playByChapter(chapter: DigitalChapter, fromTime?: number, opts?: {
43
+ prepare?: () => Promise<void>;
44
+ }): Promise<void>;
45
+ /** 暂停(保留时间) */
46
+ pause(): void;
47
+ /**
48
+ * 加法式新增:播放/预览专用切章准备(不启动时钟)。
49
+ * 复用 playByChapter 的「模型可见性切换 + 相机轨道重绑」逻辑:隐藏其它章节模型、显示目标章节模型、
50
+ * 按目标章节运镜重绑或解绑相机轨道(不 attach,故不接管 tick)、将时钟配置为目标章节时长并 seek 到 fromTime,
51
+ * 最后渲染该帧(模型)。不 start 时钟、不做编辑端联动。供 Controller.setCurrentChapterForPlayback 调用。
52
+ */
53
+ prepareChapter(chapter: DigitalChapter, fromTime?: number): void;
54
+ /**
55
+ * 加法式新增:立即结束当前 pending 的 playByChapter(resolve 其 Promise)并冻结时钟,
56
+ * 供连播中「跨章 seek 重定向」使用——上层连播循环 await 返回后据 seekRedirect 跳转到目标章节继续。
57
+ */
58
+ abortCurrentPlay(): void;
59
+ /** 显示目标章节的模型 player(visible + 外部驱动准备),返回展示的 DigitalHuman 列表 */
60
+ private showChapterModels;
61
+ /**
62
+ * 绑定目标章节相机轨道(存在非空 camera player 则绑定;否则解绑),失败静默降级。
63
+ * @param attach true 则 attach 到时钟(播放接管);false 仅重绑轨道、detach 不接管(暂停态预览)。
64
+ */
65
+ private bindChapterCamera;
66
+ /** 续播 */
67
+ resume(): void;
68
+ /**
69
+ * 跳转到指定时间并渲染当前帧(seek 预览)。不改变播放/暂停状态。
70
+ * 有活动 tick 监听时由 clock.seek 触发渲染;否则直接渲染一次。
71
+ */
72
+ setTimelineTo(time: number): void;
73
+ /** 运镜开关(透传到 CameraDirector,立即生效) */
74
+ setCameraDirectionEnabled(enabled: boolean): void;
75
+ /**
76
+ * 加法式新增:立即将一个 CameraState 应用到 five(透传到 CameraDirector,复用其桥实例)。
77
+ * 供 controller 的「章节默认视角」应用使用;不改变播放/时钟状态、不绑定轨道。
78
+ * 统一 Mapview:应用后 five 即合法 orbit 状态,用户可立即正常拖拽。
79
+ */
80
+ applyCameraStateImmediately(state: CameraState): void;
81
+ /**
82
+ * 加法式新增:暂停态 scrub 预览,应用 `sample(time)`(透传 CameraDirector.previewAt)。
83
+ * 仅在运镜启用且轨道有内容时生效;否则 no-op。预览后用户可立即正常拖拽(Mapview orbit)。
84
+ */
85
+ previewCameraAt(time: number): void;
86
+ /**
87
+ * 加法式新增:接管前 prepare(透传到 CameraDirector)。
88
+ * enabled 且当前轨道有内容时,以内插动画平滑过渡到 `sample(time)` 并在过渡稳定后 resolve;
89
+ * 否则立即 resolve(no-op)。不触碰时钟/播放状态,调用方应在时钟 start/resume 前 await。
90
+ */
91
+ prepareCameraTo(time: number): Promise<void>;
92
+ /**
93
+ * 编辑期:用关键帧重建并绑定相机轨道,供后续 seek 预览/播放接管使用。
94
+ * 空序列时解绑轨道(不接管相机)。
95
+ * 注意:此处仅重建轨道,不主动 apply 到 five,避免「捕获关键帧」时改变用户当前的自由导航相机。
96
+ * 相机接管仅发生在播放 tick 或显式 setTimelineTo 预览(统一 Mapview,用户暂停时始终可自由 orbit/平移)。
97
+ */
98
+ setCameraKeyframes(keyframes: ReadonlyArray<DigitalCameraKeyframe>): void;
99
+ /** 重置:停止时钟、隐藏数字人、复位 loader 实例(保留已加载模型与 currentScript) */
100
+ reset(): void;
101
+ /** 释放资源 */
102
+ dispose(): void;
103
+ private renderShownAt;
104
+ private hideShownHumans;
105
+ private stopTick;
106
+ }
@@ -0,0 +1,209 @@
1
+ var k = Object.defineProperty;
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 o = (s, e, t) => (y(s, typeof e != "symbol" ? e + "" : e, t), t);
4
+ import "three";
5
+ import { DigitalPlayground as C } from "../../DigitalPerformancePlugin/core/DigitalPlayground.js";
6
+ import { PerformanceClock as T } from "./PerformanceClock.js";
7
+ import { CameraTrack as u } from "./CameraTrack.js";
8
+ import { CameraDirector as w } from "./CameraDirector.js";
9
+ import "@realsee/five/gltf-loader";
10
+ import "../../DigitalPerformancePlugin/core/DigitalHuman.js";
11
+ import "../../DigitalPerformancePlugin/core/DigitalStateMachine.js";
12
+ import "../../DigitalPerformancePlugin/core/Trace.js";
13
+ import "@realsee/five";
14
+ import "./CameraSampler.js";
15
+ import "./FiveModelCameraBridge.js";
16
+ function d(s) {
17
+ let e = 0;
18
+ for (const t of s.players) {
19
+ const r = t.keyframes;
20
+ r && r.length > 0 && (e = Math.max(e, r[r.length - 1].timeStamp));
21
+ }
22
+ return e;
23
+ }
24
+ function I(s) {
25
+ let e = 0;
26
+ for (const t of s.players) {
27
+ if (t.type !== "model")
28
+ continue;
29
+ const r = t.keyframes;
30
+ r && r.length > 0 && (e = Math.max(e, r[r.length - 1].timeStamp));
31
+ }
32
+ return e;
33
+ }
34
+ function m(s, e, t) {
35
+ return s < e ? e : s > t ? t : s;
36
+ }
37
+ class B {
38
+ constructor(e, t = !1) {
39
+ /** 复用 Shared_Core 的加载与实例管理 */
40
+ o(this, "loader");
41
+ /** 运镜导演(消费 camera player,驱动 five 相机) */
42
+ o(this, "director");
43
+ o(this, "clock");
44
+ o(this, "currentChapter", null);
45
+ o(this, "shownHumans", []);
46
+ o(this, "unsubTick", null);
47
+ /** 结束当前 pending 的 playByChapter Promise 的句柄(用于 reset 时干净收尾,避免 await 泄漏) */
48
+ o(this, "currentPlayResolve", null);
49
+ this.loader = new C(t), this.clock = new T(e), this.director = new w(e);
50
+ }
51
+ getClock() {
52
+ return this.clock;
53
+ }
54
+ getCurrentChapter() {
55
+ return this.currentChapter;
56
+ }
57
+ setScript(e) {
58
+ this.loader.setScript(e);
59
+ }
60
+ /**
61
+ * 播放指定章节:准备模型 → 统一时钟驱动 renderAtTime → 自然结束 resolve。
62
+ * 仅处理模型 player 的渲染;相机运镜在后续任务(CameraDirector 接入)中叠加。
63
+ * @param opts.prepare 加法式可选:在轨道绑定/attach 完成「之后」、时钟 start「之前」被 await 的钩子,
64
+ * 用于接管前 prepare(无突变 user→director 切换)。缺省(undefined)保持既有行为不变。
65
+ * prepare 在时钟启动前执行,故不计入播放时间(时钟不推进)。失败时静默降级、仍照常播放。
66
+ */
67
+ playByChapter(e, t = 0, r) {
68
+ this.stopTick(), this.currentChapter = e, this.hideShownHumans(), this.shownHumans = this.showChapterModels(e), this.bindChapterCamera(e, !0);
69
+ const i = d(e);
70
+ return new Promise((n) => {
71
+ let c = null;
72
+ const a = () => {
73
+ this.currentPlayResolve === a && (this.currentPlayResolve = null, c && c(), this.stopTick(), n());
74
+ };
75
+ this.currentPlayResolve = a;
76
+ const h = () => {
77
+ this.currentPlayResolve === a && (this.unsubTick = this.clock.onTick((p, f) => {
78
+ this.renderShownAt(p, f);
79
+ }), c = this.clock.onEnded(() => a()), this.clock.start(i, t));
80
+ }, l = r == null ? void 0 : r.prepare;
81
+ l ? Promise.resolve().then(() => l()).catch(() => {
82
+ }).then(() => h()) : h();
83
+ });
84
+ }
85
+ /** 暂停(保留时间) */
86
+ pause() {
87
+ this.clock.pause();
88
+ }
89
+ /**
90
+ * 加法式新增:播放/预览专用切章准备(不启动时钟)。
91
+ * 复用 playByChapter 的「模型可见性切换 + 相机轨道重绑」逻辑:隐藏其它章节模型、显示目标章节模型、
92
+ * 按目标章节运镜重绑或解绑相机轨道(不 attach,故不接管 tick)、将时钟配置为目标章节时长并 seek 到 fromTime,
93
+ * 最后渲染该帧(模型)。不 start 时钟、不做编辑端联动。供 Controller.setCurrentChapterForPlayback 调用。
94
+ */
95
+ prepareChapter(e, t = 0) {
96
+ this.stopTick(), this.currentChapter = e, this.hideShownHumans(), this.shownHumans = this.showChapterModels(e), this.bindChapterCamera(e, !1);
97
+ const r = d(e);
98
+ this.clock.setDuration(r), this.clock.seek(m(t, 0, r > 0 ? r : t)), this.renderShownAt(this.clock.getTime(), 0);
99
+ }
100
+ /**
101
+ * 加法式新增:立即结束当前 pending 的 playByChapter(resolve 其 Promise)并冻结时钟,
102
+ * 供连播中「跨章 seek 重定向」使用——上层连播循环 await 返回后据 seekRedirect 跳转到目标章节继续。
103
+ */
104
+ abortCurrentPlay() {
105
+ this.currentPlayResolve && this.currentPlayResolve(), this.stopTick(), this.clock.pause(), this.director.detach();
106
+ }
107
+ /** 显示目标章节的模型 player(visible + 外部驱动准备),返回展示的 DigitalHuman 列表 */
108
+ showChapterModels(e) {
109
+ const t = e.players.filter((i) => i.type === "model"), r = [];
110
+ for (const i of t) {
111
+ const n = this.loader.getDigitalHuman(i.model, i.id);
112
+ n && (n.model.visible = !0, n.container.visible = !0, n.prepareExternalDrive({ keyframes: i.keyframes, items: [], effects: [] }), r.push(n));
113
+ }
114
+ return r;
115
+ }
116
+ /**
117
+ * 绑定目标章节相机轨道(存在非空 camera player 则绑定;否则解绑),失败静默降级。
118
+ * @param attach true 则 attach 到时钟(播放接管);false 仅重绑轨道、detach 不接管(暂停态预览)。
119
+ */
120
+ bindChapterCamera(e, t) {
121
+ try {
122
+ const r = e.players.find((i) => i.type === "camera");
123
+ if (r && r.keyframes && r.keyframes.length > 0) {
124
+ const i = new u();
125
+ i.setKeyframes(r.keyframes), this.director.bindTrack(i), t ? this.director.attach(this.clock) : this.director.detach();
126
+ } else
127
+ this.director.detach(), this.director.bindTrack(null);
128
+ } catch (r) {
129
+ this.director.detach(), this.director.bindTrack(null);
130
+ }
131
+ }
132
+ /** 续播 */
133
+ resume() {
134
+ this.clock.resume();
135
+ }
136
+ /**
137
+ * 跳转到指定时间并渲染当前帧(seek 预览)。不改变播放/暂停状态。
138
+ * 有活动 tick 监听时由 clock.seek 触发渲染;否则直接渲染一次。
139
+ */
140
+ setTimelineTo(e) {
141
+ const t = this.clock.getDuration(), r = m(e, 0, t > 0 ? t : e);
142
+ this.clock.seek(r), this.unsubTick || this.renderShownAt(this.clock.getTime(), 0);
143
+ }
144
+ /** 运镜开关(透传到 CameraDirector,立即生效) */
145
+ setCameraDirectionEnabled(e) {
146
+ this.director.setEnabled(e);
147
+ }
148
+ /**
149
+ * 加法式新增:立即将一个 CameraState 应用到 five(透传到 CameraDirector,复用其桥实例)。
150
+ * 供 controller 的「章节默认视角」应用使用;不改变播放/时钟状态、不绑定轨道。
151
+ * 统一 Mapview:应用后 five 即合法 orbit 状态,用户可立即正常拖拽。
152
+ */
153
+ applyCameraStateImmediately(e) {
154
+ this.director.applyCameraStateImmediately(e);
155
+ }
156
+ /**
157
+ * 加法式新增:暂停态 scrub 预览,应用 `sample(time)`(透传 CameraDirector.previewAt)。
158
+ * 仅在运镜启用且轨道有内容时生效;否则 no-op。预览后用户可立即正常拖拽(Mapview orbit)。
159
+ */
160
+ previewCameraAt(e) {
161
+ this.director.previewAt(e);
162
+ }
163
+ /**
164
+ * 加法式新增:接管前 prepare(透传到 CameraDirector)。
165
+ * enabled 且当前轨道有内容时,以内插动画平滑过渡到 `sample(time)` 并在过渡稳定后 resolve;
166
+ * 否则立即 resolve(no-op)。不触碰时钟/播放状态,调用方应在时钟 start/resume 前 await。
167
+ */
168
+ prepareCameraTo(e) {
169
+ return this.director.prepareTo(e);
170
+ }
171
+ /**
172
+ * 编辑期:用关键帧重建并绑定相机轨道,供后续 seek 预览/播放接管使用。
173
+ * 空序列时解绑轨道(不接管相机)。
174
+ * 注意:此处仅重建轨道,不主动 apply 到 five,避免「捕获关键帧」时改变用户当前的自由导航相机。
175
+ * 相机接管仅发生在播放 tick 或显式 setTimelineTo 预览(统一 Mapview,用户暂停时始终可自由 orbit/平移)。
176
+ */
177
+ setCameraKeyframes(e) {
178
+ if (e && e.length > 0) {
179
+ const t = new u();
180
+ t.setKeyframes(e), this.director.bindTrack(t);
181
+ } else
182
+ this.director.bindTrack(null);
183
+ }
184
+ /** 重置:停止时钟、隐藏数字人、复位 loader 实例(保留已加载模型与 currentScript) */
185
+ reset() {
186
+ this.currentPlayResolve && this.currentPlayResolve(), this.stopTick(), this.clock.stop(), this.director.detach(), this.director.bindTrack(null), this.hideShownHumans(), this.currentChapter = null, this.loader.reset();
187
+ }
188
+ /** 释放资源 */
189
+ dispose() {
190
+ this.currentPlayResolve && this.currentPlayResolve(), this.stopTick(), this.clock.dispose(), this.director.dispose(), this.shownHumans = [], this.currentChapter = null, this.loader.dispose();
191
+ }
192
+ renderShownAt(e, t) {
193
+ for (const r of this.shownHumans)
194
+ r.renderAtTime(e, t);
195
+ }
196
+ hideShownHumans() {
197
+ for (const e of this.shownHumans)
198
+ e.model.visible = !1, e.container.visible = !1;
199
+ this.shownHumans = [];
200
+ }
201
+ stopTick() {
202
+ this.unsubTick && (this.unsubTick(), this.unsubTick = null);
203
+ }
204
+ }
205
+ export {
206
+ B as PerformancePlayground,
207
+ d as getChapterDuration,
208
+ I as getChapterModelDuration
209
+ };
@@ -0,0 +1,4 @@
1
+ export { DigitalStateMachine } from '../../DigitalPerformancePlugin/core/DigitalStateMachine';
2
+ export { DigitalHuman } from '../../DigitalPerformancePlugin/core/DigitalHuman';
3
+ export { DigitalPlayground } from '../../DigitalPerformancePlugin/core/DigitalPlayground';
4
+ export type { DigitalScript, DigitalChapter, DigitalModelPlayer, DigitalSubTitlePlayer, DigitalCameraPlayer, DigitalCameraKeyframe, DigitalModelKeyframe, DigitalModelState, DigitalCameraState, KeyframeType, StateType, } from '../../DigitalPerformancePlugin/core/DigitalStateMachine';
@@ -0,0 +1,12 @@
1
+ import { DigitalStateMachine as p } from "../../DigitalPerformancePlugin/core/DigitalStateMachine.js";
2
+ import { DigitalHuman as g } from "../../DigitalPerformancePlugin/core/DigitalHuman.js";
3
+ import { DigitalPlayground as f } from "../../DigitalPerformancePlugin/core/DigitalPlayground.js";
4
+ import "three";
5
+ import "../../DigitalPerformancePlugin/core/Trace.js";
6
+ import "@realsee/five/gltf-loader";
7
+ import "@realsee/five";
8
+ export {
9
+ g as DigitalHuman,
10
+ f as DigitalPlayground,
11
+ p as DigitalStateMachine
12
+ };
@@ -0,0 +1,11 @@
1
+ import r from "../controller/index.js";
2
+ const e = (o, t) => new r(o, t), l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ __proto__: null,
4
+ DigitalPerformanceV2Plugin: e,
5
+ DigitalPerformanceV2PluginController: r,
6
+ default: e
7
+ }, Symbol.toStringTag, { value: "Module" }));
8
+ export {
9
+ e as DigitalPerformanceV2Plugin,
10
+ l as index
11
+ };
@@ -0,0 +1,9 @@
1
+ import type { Five } from '@realsee/five';
2
+ import DigitalPerformanceV2PluginController from './controller';
3
+ export { default as DigitalPerformanceV2PluginController } from './controller';
4
+ export type { V2Progress, V2ProgressListener } from './controller';
5
+ export * from './typings';
6
+ export type DigitalPerformanceV2PluginExportInterface = InstanceType<typeof DigitalPerformanceV2PluginController>;
7
+ export type DigitalPerformanceV2PluginParamsInterface = ConstructorParameters<typeof DigitalPerformanceV2PluginController>[1];
8
+ export declare const DigitalPerformanceV2Plugin: (five: Five, params?: DigitalPerformanceV2PluginParamsInterface) => DigitalPerformanceV2PluginController;
9
+ export default DigitalPerformanceV2Plugin;
@@ -0,0 +1,20 @@
1
+ import { default as D } from "./controller/index.js";
2
+ import { DigitalPerformanceV2Plugin as d, DigitalPerformanceV2Plugin as s } from "./index/index.js";
3
+ import "./core/Playground.js";
4
+ import "three";
5
+ import "../DigitalPerformancePlugin/core/DigitalPlayground.js";
6
+ import "@realsee/five/gltf-loader";
7
+ import "../DigitalPerformancePlugin/core/DigitalHuman.js";
8
+ import "../DigitalPerformancePlugin/core/DigitalStateMachine.js";
9
+ import "../DigitalPerformancePlugin/core/Trace.js";
10
+ import "@realsee/five";
11
+ import "./core/PerformanceClock.js";
12
+ import "./core/CameraTrack.js";
13
+ import "./core/CameraSampler.js";
14
+ import "./core/CameraDirector.js";
15
+ import "./core/FiveModelCameraBridge.js";
16
+ export {
17
+ d as DigitalPerformanceV2Plugin,
18
+ D as DigitalPerformanceV2PluginController,
19
+ s as default
20
+ };
@@ -0,0 +1,113 @@
1
+ import type * as THREE from 'three';
2
+ export interface DigitalPerformanceV2PluginConfig {
3
+ /** 是否在加载剧本后自动播放第一个章节 */
4
+ autoPlay?: boolean;
5
+ /** 是否循环播放 */
6
+ loop?: boolean;
7
+ /** 是否输出调试日志 */
8
+ debug?: boolean;
9
+ }
10
+ /**
11
+ * 关键帧到下一关键帧的过渡缓动
12
+ * - 'linear' : 线性(缺省)
13
+ * - 'easeInOut' : smoothstep 缓入缓出
14
+ * - 'instant' : 直接 snap,不向下一帧插值
15
+ */
16
+ export type CameraTransition = 'linear' | 'easeInOut' | 'instant';
17
+ /**
18
+ * 运镜关键帧坐标空间(前向兼容标记)
19
+ * - 'five-world' : five 运行时世界系(target 直接来自 five 当前 Mapview 位姿,重播直接消费,不再变换)。缺省按此解释。
20
+ * - 'work-local' : 作品本地坐标系(与模型 player 同口径,加载时需经 transformPosition 变换)。
21
+ * 试点阶段统一写 'five-world'。
22
+ */
23
+ export type CameraCoordinateSpace = 'five-world' | 'work-local';
24
+ /**
25
+ * 运镜关键帧(序列化结构)—— 统一采用 five **Mapview**(地图态 / orbit)位姿。
26
+ *
27
+ * Mapview 下相机绕 `target`(注视点 = orbit 轴心)旋转:
28
+ * 相机位置 = target - coordinatesToVector(longitude, latitude) × distance,视线恒指向 `target`。
29
+ * 这样「播放」「暂停后用户拖拽」「续播」均在同一 orbit 参数系下表达,
30
+ * 暂停即天然交还用户做左键 orbit / 右键平移(无需 look-from→orbit 转换,无跳变)。
31
+ */
32
+ export interface DigitalCameraKeyframe {
33
+ /** 时间点(ms),章节内相对时间 */
34
+ timeStamp: number;
35
+ /** orbit 目标点(= 注视点 / 旋转轴心),five 世界坐标 [x,y,z] */
36
+ target: number[];
37
+ /** 水平角 longitude(rad) */
38
+ longitude: number;
39
+ /** 俯仰角 latitude(rad) */
40
+ latitude: number;
41
+ /** 相机到 target 的距离(m) */
42
+ distance: number;
43
+ /** 视场角(度),表达视角「缩放」 */
44
+ fov: number;
45
+ /** 到下一关键帧的过渡缓动(缺省 'linear') */
46
+ transition?: CameraTransition;
47
+ /**
48
+ * 关键帧缩略图 URL(编辑端封面,运行时忽略)。
49
+ * 约定存 COS 直传得到的持久化 URL;编辑期的本地 blob 预览不写入此字段。
50
+ */
51
+ thumbnail?: string;
52
+ }
53
+ /** 运镜播放器(序列化进 script) */
54
+ export interface DigitalCameraPlayer {
55
+ name: string;
56
+ type: 'camera';
57
+ keyframes: DigitalCameraKeyframe[];
58
+ /** 关键帧坐标空间(前向兼容标记;缺省按 'five-world' 解释) */
59
+ coordinateSpace?: CameraCoordinateSpace;
60
+ }
61
+ /**
62
+ * 运行时统一相机状态(采样器输出、桥的输入)—— five Mapview(orbit)位姿。
63
+ * 直接对应 `five.setState({ offset: target, longitude, latitude, distance, fov, mode: 'Mapview' })`。
64
+ */
65
+ export interface CameraState {
66
+ /** orbit 目标点(注视点 / 旋转轴心),five 世界坐标 */
67
+ target: THREE.Vector3;
68
+ /** 水平角 longitude(rad) */
69
+ longitude: number;
70
+ /** 俯仰角 latitude(rad) */
71
+ latitude: number;
72
+ /** 相机到 target 距离(m) */
73
+ distance: number;
74
+ /** 视场角(度) */
75
+ fov: number;
76
+ }
77
+ /**
78
+ * 组级(整组连续播放)章节时间映射项 —— 加法式新增。
79
+ * 把 N 个章节按各自模型动画时长(getChapterModelDuration)逐章累计成单一组级时间轴上的区间。
80
+ */
81
+ export interface GroupChapterTimeInfo {
82
+ /** 章节索引(0-based) */
83
+ index: number;
84
+ /** 章节名称 */
85
+ name: string;
86
+ /** 组级累计起点(ms):startTime[0]=0,startTime[i]=endTime[i-1] */
87
+ startTime: number;
88
+ /** 组级累计终点(ms):endTime[i]=startTime[i]+duration[i],endTime[last]=组级总时长 */
89
+ endTime: number;
90
+ /** 该章节时长(ms) = getChapterModelDuration(排除 camera player) */
91
+ duration: number;
92
+ }
93
+ /**
94
+ * 组级(整组连续播放)进度聚合 —— 加法式新增,不替换章节级 V2Progress。
95
+ * 由「各章节 duration 的累计(getGroupChapterTimeMap)」+「当前章节 index」+「当前章节内时间」派生。
96
+ * 字段语义与 Legacy GlobalProgress 对齐,使展示端进度条 UI 可平滑复用。
97
+ */
98
+ export interface GroupProgress {
99
+ /** 组级当前时间(ms) = 先序章节 duration 之和 + 当前章节内 currentTime(钳制) */
100
+ groupCurrentTime: number;
101
+ /** 组级总时长(ms) = 所有章节 duration 之和 */
102
+ groupTotalTime: number;
103
+ /** 组级进度百分比 [0,100] = groupCurrentTime / groupTotalTime * 100(groupTotalTime=0 时为 0) */
104
+ percentage: number;
105
+ /** 当前章节索引(0-based;无当前章节为 -1) */
106
+ currentChapterIndex: number;
107
+ /** 当前章节内时间(ms)(即 V2Progress.currentTime) */
108
+ currentChapterTime: number;
109
+ /** 当前章节总时长(ms)(即 V2Progress.totalTime) */
110
+ currentChapterTotalTime: number;
111
+ /** 章节总数 */
112
+ totalChapters: number;
113
+ }
@@ -141,8 +141,6 @@ import "../shared-utils/three/loadVideoTexture.js";
141
141
  import "../PanoTagPlugin/Assets/Icon.js";
142
142
  import "../shared-utils/three/getPositionsByObjectFit.js";
143
143
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
144
- import "../shared-utils/three/StackedAlphaVideoMaterial.js";
145
- import "../shared-utils/three/isStackedAlphaVideo.js";
146
144
  import "../shared-utils/three/getNormal.js";
147
145
  import "../shared-utils/constants.js";
148
146
  import "../shared-utils/five/FiveDomEvents.js";
@@ -375,8 +373,8 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
375
373
  import "../CruisePlugin/utils/safeCall.js";
376
374
  import "../CruisePlugin/utils/sleep.js";
377
375
  import "../shared-utils/five/fiveLoaded.js";
378
- const _ = "GuideLinePlugin", E = `${_}`, _e = (a) => `${E}--${a}`;
379
- class Ee extends k {
376
+ const _ = "GuideLinePlugin", E = `${_}`, be = (a) => `${E}--${a}`;
377
+ class ge extends k {
380
378
  constructor(t, i) {
381
379
  super(t, i);
382
380
  d(this, "name", _);
@@ -574,6 +572,6 @@ class Ee extends k {
574
572
  }
575
573
  }
576
574
  export {
577
- Ee as default,
578
- _e as pluginFlag
575
+ ge as default,
576
+ be as pluginFlag
579
577
  };
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
5
5
  import "../CruisePlugin/Move.js";
6
6
  import "../CruisePlugin/Work.js";
7
7
  import "../shared-utils/Subscribe.js";
8
- import { GuideLineItem as wp } from "./GuideLineItem/index.js";
8
+ import { GuideLineItem as sp } from "./GuideLineItem/index.js";
9
9
  import "three";
10
10
  import "./utils/createLineGeometry.js";
11
11
  import "../vendor/polyline-normals/index.js";
@@ -110,8 +110,6 @@ import "../shared-utils/three/loadVideoTexture.js";
110
110
  import "../PanoTagPlugin/Assets/Icon.js";
111
111
  import "../shared-utils/three/getPositionsByObjectFit.js";
112
112
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
113
- import "../shared-utils/three/StackedAlphaVideoMaterial.js";
114
- import "../shared-utils/three/isStackedAlphaVideo.js";
115
113
  import "../shared-utils/three/getNormal.js";
116
114
  import "../shared-utils/constants.js";
117
115
  import "../shared-utils/five/FiveDomEvents.js";
@@ -347,5 +345,5 @@ import "../CruisePlugin/utils/safeCall.js";
347
345
  import "../CruisePlugin/utils/sleep.js";
348
346
  import "../shared-utils/five/fiveLoaded.js";
349
347
  export {
350
- wp as GuideLineItem
348
+ sp as GuideLineItem
351
349
  };
@@ -26,7 +26,7 @@ import "./utils/index.js";
26
26
  import "../vendor/object-assign-deep/objectAssignDeep.js";
27
27
  import "./utils/createPath.js";
28
28
  import "../shared-utils/fontSize.js";
29
- import { GuideLineModeItem as fp } from "./GuideLineModeItem/index.js";
29
+ import { GuideLineModeItem as ep } from "./GuideLineModeItem/index.js";
30
30
  import "../vendor/polyline-normals/index.js";
31
31
  import "../vendor/polyline-miter-util/index.js";
32
32
  import "../vendor/gl-vec2/add.js";
@@ -109,8 +109,6 @@ import "../shared-utils/three/loadVideoTexture.js";
109
109
  import "../PanoTagPlugin/Assets/Icon.js";
110
110
  import "../shared-utils/three/getPositionsByObjectFit.js";
111
111
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
112
- import "../shared-utils/three/StackedAlphaVideoMaterial.js";
113
- import "../shared-utils/three/isStackedAlphaVideo.js";
114
112
  import "../shared-utils/three/getNormal.js";
115
113
  import "../shared-utils/constants.js";
116
114
  import "../shared-utils/five/FiveDomEvents.js";
@@ -329,5 +327,5 @@ import "../PanoTagPlugin/Components/Common/TagPopover/ShareIcon.js";
329
327
  import "../PanoTagPlugin/utils/popoverContainer.js";
330
328
  import "../shared-utils/px2rem.js";
331
329
  export {
332
- fp as GuideLineModeItem
330
+ ep as GuideLineModeItem
333
331
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as vp } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as zp } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as kp } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as vp } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -122,8 +122,6 @@ import "../shared-utils/three/loadVideoTexture.js";
122
122
  import "../PanoTagPlugin/Assets/Icon.js";
123
123
  import "../shared-utils/three/getPositionsByObjectFit.js";
124
124
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
125
- import "../shared-utils/three/StackedAlphaVideoMaterial.js";
126
- import "../shared-utils/three/isStackedAlphaVideo.js";
127
125
  import "../shared-utils/three/getNormal.js";
128
126
  import "../shared-utils/constants.js";
129
127
  import "../shared-utils/five/FiveDomEvents.js";
@@ -346,10 +344,10 @@ import "../shared-utils/five/changeMode.js";
346
344
  import "../shared-utils/nearlyEqual.js";
347
345
  import "../CruisePlugin/Move.js";
348
346
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
349
- const r = (i, o) => new t(i, o), jp = r;
347
+ const r = (i, o) => new t(i, o), bp = r;
350
348
  export {
351
- vp as GuideLineItem,
352
- zp as GuideLineModeItem,
349
+ kp as GuideLineItem,
350
+ vp as GuideLineModeItem,
353
351
  r as GuideLinePlugin,
354
- jp as default
352
+ bp as default
355
353
  };
@@ -154,8 +154,6 @@ import "../../../shared-utils/three/loadVideoTexture.js";
154
154
  import "../../../shared-utils/device.js";
155
155
  import "../../../shared-utils/three/getPositionsByObjectFit.js";
156
156
  import "../../../shared-utils/three/FragmentTransparencyMaterial.js";
157
- import "../../../shared-utils/three/StackedAlphaVideoMaterial.js";
158
- import "../../../shared-utils/three/isStackedAlphaVideo.js";
159
157
  import "../../../shared-utils/three/getNormal.js";
160
158
  import "../../../shared-utils/constants.js";
161
159
  import "./index.js";
@@ -809,7 +807,7 @@ function EA(i, A, t) {
809
807
  T
810
808
  ];
811
809
  }
812
- class zi extends tA {
810
+ class Ki extends tA {
813
811
  constructor(A) {
814
812
  super(), iA(
815
813
  this,
@@ -831,5 +829,5 @@ class zi extends tA {
831
829
  }
832
830
  }
833
831
  export {
834
- zi as default
832
+ Ki as default
835
833
  };
@@ -156,8 +156,6 @@ import "../../shared-utils/three/loadVideoTexture.js";
156
156
  import "../../shared-utils/device.js";
157
157
  import "../../shared-utils/three/getPositionsByObjectFit.js";
158
158
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
159
- import "../../shared-utils/three/StackedAlphaVideoMaterial.js";
160
- import "../../shared-utils/three/isStackedAlphaVideo.js";
161
159
  import "../../shared-utils/three/getNormal.js";
162
160
  import "../../shared-utils/constants.js";
163
161
  import "../controller/Tag/BaseTag.js";
@@ -419,7 +417,7 @@ function x(m, t, o) {
419
417
  O
420
418
  ];
421
419
  }
422
- class Pr extends P {
420
+ class Nr extends P {
423
421
  constructor(t) {
424
422
  super(), Z(
425
423
  this,
@@ -442,5 +440,5 @@ class Pr extends P {
442
440
  }
443
441
  }
444
442
  export {
445
- Pr as default
443
+ Nr as default
446
444
  };