@realsee/dnalogel 3.81.11-alpha.2 → 3.81.12-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.
- package/CHANGELOG.md +4 -0
- package/dist/DigitalPerformancePlugin/controller/index.d.ts +0 -15
- package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +0 -2
- package/dist/DigitalPerformancePlugin/index.d.ts +0 -2
- package/dist/DigitalPerformanceV2Plugin/controller/index.d.ts +0 -13
- package/dist/DigitalPerformanceV2Plugin/core/Playground.d.ts +0 -4
- package/dist/DigitalPerformanceV2Plugin/index.d.ts +0 -2
- package/dist/FireScenePlugin/FireControl.d.ts +153 -0
- package/dist/FireScenePlugin/SequencePlayer.d.ts +41 -0
- package/dist/FireScenePlugin/constants.d.ts +28 -0
- package/dist/FireScenePlugin/fire/config.d.ts +10 -0
- package/dist/FireScenePlugin/fire/index.d.ts +6 -0
- package/dist/FireScenePlugin/fire/managers/FireManager.d.ts +76 -0
- package/dist/FireScenePlugin/fire/type.d.ts +51 -0
- package/dist/FireScenePlugin/index.d.ts +6 -0
- package/dist/FireScenePlugin/smoke/config.d.ts +8 -0
- package/dist/FireScenePlugin/smoke/index.d.ts +1 -0
- package/dist/FireScenePlugin/smoke/managers/NormalSmokeManager.d.ts +49 -0
- package/dist/FireScenePlugin/smoke/managers/SmokeManager.d.ts +89 -0
- package/dist/FireScenePlugin/typing.d.ts +55 -0
- package/dist/FireScenePlugin/utils/areaBounds.d.ts +14 -0
- package/dist/FireScenePlugin/utils/particle.d.ts +5 -0
- package/dist/FireScenePlugin/utils/particleTexture.d.ts +21 -0
- package/dist/FireScenePlugin/utils/radialSpread.d.ts +54 -0
- package/dist/FireScenePlugin/utils/spread.d.ts +17 -0
- package/dist/Sculpt/index.d.ts +4 -0
- package/dist/index.cjs.js +493 -114
- package/dist/index.d.ts +1 -0
- package/dist/index.js +17342 -15563
- package/dist/index.umd.js +483 -104
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -0
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -0
- package/dist/shared-utils/three/getTextureLoader.d.ts +6 -0
- package/docs/assets/highlight.css +35 -0
- 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.DigitalPerformanceV2PluginController.html +46 -54
- package/docs/classes/DigitalPlayground.html +2 -2
- package/docs/classes/DigitalStateMachine.html +2 -2
- package/docs/classes/FireControl.html +56 -0
- package/docs/classes/FireScenePlayer.html +10 -0
- 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 +20 -18
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +3 -3
- 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/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/getAreaBox3.html +2 -0
- package/docs/functions/getAreaVertices.html +2 -0
- package/docs/functions/getEntryArea.html +2 -0
- 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 +2 -4
- 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.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/FireArea.html +5 -0
- package/docs/interfaces/FireModel.html +9 -0
- package/docs/interfaces/FireSceneConfig.html +9 -0
- package/docs/interfaces/FireSequencePlayerOptions.html +4 -0
- package/docs/interfaces/FireSequenceStep.html +5 -0
- package/docs/interfaces/FireVector3.html +4 -0
- 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 +3 -9
- 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 +19 -8
- 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/FireModelType.html +5 -0
- package/docs/types/FireSequenceKind.html +3 -0
- package/docs/types/FireSpreadBounds.html +2 -0
- 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/FIRE_ACTION_DURATION_MS.html +2 -0
- package/docs/variables/FIRE_SPREAD_SPEED.html +2 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/MODEL_SCALE_RANGE.html +2 -0
- 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 +0 -15
- package/libs/DigitalPerformancePlugin/controller/index.js +252 -293
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +0 -2
- package/libs/DigitalPerformancePlugin/index.d.ts +0 -2
- package/libs/DigitalPerformancePlugin/index.js +10 -14
- package/libs/DigitalPerformanceV2Plugin/controller/index.d.ts +0 -13
- package/libs/DigitalPerformanceV2Plugin/controller/index.js +41 -82
- package/libs/DigitalPerformanceV2Plugin/core/Playground.d.ts +0 -4
- package/libs/DigitalPerformanceV2Plugin/core/Playground.js +17 -23
- package/libs/DigitalPerformanceV2Plugin/index/index.js +3 -7
- package/libs/DigitalPerformanceV2Plugin/index.d.ts +0 -2
- package/libs/DigitalPerformanceV2Plugin/index.js +5 -9
- package/libs/FireScenePlugin/FireControl.d.ts +153 -0
- package/libs/FireScenePlugin/FireControl.js +450 -0
- package/libs/FireScenePlugin/SequencePlayer.d.ts +41 -0
- package/libs/FireScenePlugin/SequencePlayer.js +114 -0
- package/libs/FireScenePlugin/constants.d.ts +28 -0
- package/libs/FireScenePlugin/constants.js +26 -0
- package/libs/FireScenePlugin/fire/config.d.ts +10 -0
- package/libs/FireScenePlugin/fire/config.js +22 -0
- package/libs/FireScenePlugin/fire/index.d.ts +6 -0
- package/libs/FireScenePlugin/fire/index.js +13 -0
- package/libs/FireScenePlugin/fire/managers/FireManager.d.ts +76 -0
- package/libs/FireScenePlugin/fire/managers/FireManager.js +236 -0
- package/libs/FireScenePlugin/fire/type.d.ts +51 -0
- package/libs/FireScenePlugin/fire/type.js +1 -0
- package/libs/FireScenePlugin/index.d.ts +6 -0
- package/libs/FireScenePlugin/index.js +99 -0
- package/libs/FireScenePlugin/smoke/config.d.ts +8 -0
- package/libs/FireScenePlugin/smoke/config.js +18 -0
- package/libs/FireScenePlugin/smoke/index.d.ts +1 -0
- package/libs/FireScenePlugin/smoke/index.js +10 -0
- package/libs/FireScenePlugin/smoke/managers/NormalSmokeManager.d.ts +49 -0
- package/libs/FireScenePlugin/smoke/managers/NormalSmokeManager.js +136 -0
- package/libs/FireScenePlugin/smoke/managers/SmokeManager.d.ts +89 -0
- package/libs/FireScenePlugin/smoke/managers/SmokeManager.js +137 -0
- package/libs/FireScenePlugin/typing.d.ts +55 -0
- package/libs/FireScenePlugin/typing.js +1 -0
- package/libs/FireScenePlugin/utils/areaBounds.d.ts +14 -0
- package/libs/FireScenePlugin/utils/areaBounds.js +30 -0
- package/libs/FireScenePlugin/utils/particle.d.ts +5 -0
- package/libs/FireScenePlugin/utils/particle.js +7 -0
- package/libs/FireScenePlugin/utils/particleTexture.d.ts +21 -0
- package/libs/FireScenePlugin/utils/particleTexture.js +40 -0
- package/libs/FireScenePlugin/utils/radialSpread.d.ts +54 -0
- package/libs/FireScenePlugin/utils/radialSpread.js +75 -0
- package/libs/FireScenePlugin/utils/spread.d.ts +17 -0
- package/libs/FireScenePlugin/utils/spread.js +17 -0
- package/libs/Sculpt/index.d.ts +4 -0
- package/libs/Sculpt/index.js +42 -36
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.d.ts +1 -0
- package/libs/index.js +184 -165
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +100 -99
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -0
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +22 -12
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/getTextureLoader.d.ts +6 -0
- package/libs/shared-utils/three/getTextureLoader.js +15 -0
- package/libs/vendor/@realsee/five/vfx/index.js +977 -0
- package/package.json +1 -1
- package/dist/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.d.ts +0 -99
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +0 -22
- package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +0 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +0 -5
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +0 -19
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +0 -5
- package/docs/variables/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +0 -1
- package/libs/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.d.ts +0 -99
- package/libs/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.js +0 -244
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import DigitalPerformancePluginController from './controller';
|
|
3
|
-
export { DigitalPerformanceNameplate, normalizeDigitalPerformanceName, DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH, } from './core/DigitalPerformanceNameplate';
|
|
4
|
-
export type { DigitalPerformanceNameplateBinding, DigitalPerformanceNameplateOptions, DigitalPerformanceNameplateRenderContext, } from './core/DigitalPerformanceNameplate';
|
|
5
3
|
export { DigitalHuman } from './core/DigitalHuman';
|
|
6
4
|
export { DigitalPlayground } from './core/DigitalPlayground';
|
|
7
5
|
export { DigitalStateMachine } from './core/DigitalStateMachine';
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { DigitalStateMachine as M } from "./core/DigitalStateMachine.js";
|
|
1
|
+
import o from "./controller/index.js";
|
|
2
|
+
import { DigitalHuman as D } from "./core/DigitalHuman.js";
|
|
3
|
+
import { DigitalPlayground as c } from "./core/DigitalPlayground.js";
|
|
4
|
+
import { DigitalStateMachine as d } from "./core/DigitalStateMachine.js";
|
|
6
5
|
import "three";
|
|
7
6
|
import "./mock.js";
|
|
8
7
|
import "../shared-utils/five/transformPosition.js";
|
|
9
8
|
import "@realsee/five/gltf-loader";
|
|
10
9
|
import "./core/Trace.js";
|
|
11
10
|
import "@realsee/five";
|
|
12
|
-
const
|
|
11
|
+
const g = (r, t) => new o(r, t);
|
|
13
12
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
c as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
M as DigitalStateMachine,
|
|
20
|
-
f as default,
|
|
21
|
-
u as normalizeDigitalPerformanceName
|
|
13
|
+
D as DigitalHuman,
|
|
14
|
+
g as DigitalPerformancePlugin,
|
|
15
|
+
c as DigitalPlayground,
|
|
16
|
+
d as DigitalStateMachine,
|
|
17
|
+
g as default
|
|
22
18
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import type { DigitalPerformanceV2PluginConfig, DigitalCameraKeyframe, DigitalCameraPlayer, CameraTransition, CameraCoordinateSpace, CameraState, GroupChapterTimeInfo, GroupProgress } from '../typings';
|
|
3
3
|
import { PerformancePlayground } from '../core/Playground';
|
|
4
|
-
import type { DigitalPerformanceNameplateOptions } from '../../DigitalPerformancePlugin/core/DigitalPerformanceNameplate';
|
|
5
4
|
import type { DigitalScript, DigitalChapter } from '../core/shared';
|
|
6
5
|
/** 播放进度(当前章节内) */
|
|
7
6
|
export interface V2Progress {
|
|
@@ -81,9 +80,6 @@ export default class DigitalPerformanceV2PluginController {
|
|
|
81
80
|
private groupProgressListeners;
|
|
82
81
|
private keyframesChangedListeners;
|
|
83
82
|
private currentChapterChangedListeners;
|
|
84
|
-
private nameplate;
|
|
85
|
-
private unsubNameplateRender;
|
|
86
|
-
private unsubNameplateCameraUpdate;
|
|
87
83
|
private unsubClockTick;
|
|
88
84
|
/**
|
|
89
85
|
* 进入编辑时的运镜内存态快照:以章节对象为 key,值为该章节相机关键帧的深拷贝;
|
|
@@ -356,15 +352,6 @@ export default class DigitalPerformanceV2PluginController {
|
|
|
356
352
|
playing: boolean;
|
|
357
353
|
currentChapter: DigitalChapter | null;
|
|
358
354
|
};
|
|
359
|
-
/** 挂载模型头顶 2D 气泡名牌;编辑端与 C 端可使用同一套 API 和自定义渲染器。 */
|
|
360
|
-
mountNameplates(parent: HTMLElement, options?: DigitalPerformanceNameplateOptions): void;
|
|
361
|
-
unmountNameplates(): void;
|
|
362
|
-
setNameplatesEnabled(enabled: boolean): void;
|
|
363
|
-
/** 调试:显示/隐藏名牌绑定模型的世界包围盒(核对名牌锚点用)。 */
|
|
364
|
-
setNameplateBoundingBoxVisible(visible: boolean): void;
|
|
365
|
-
/** 实时修改角色名牌;只更新文本和当前剧本,不重新加载模型/动画。 */
|
|
366
|
-
updateModelName(id: string, value: string): void;
|
|
367
|
-
private syncNameplates;
|
|
368
355
|
/** 重置播放(保留已加载资源) */
|
|
369
356
|
reset(): void;
|
|
370
357
|
/** 销毁插件、释放资源 */
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
var R = Object.defineProperty;
|
|
2
|
+
var x = Object.getOwnPropertySymbols;
|
|
3
|
+
var D = Object.prototype.hasOwnProperty, G = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var k = (p, e, t) => e in p ? R(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
|
+
D.call(e, t) && k(p, t, e[t]);
|
|
7
|
+
if (x)
|
|
8
|
+
for (var t of x(e))
|
|
9
|
+
G.call(e, t) && k(p, t, e[t]);
|
|
10
10
|
return p;
|
|
11
11
|
};
|
|
12
|
-
var h = (p, e, t) => (
|
|
12
|
+
var h = (p, e, t) => (k(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,9 +27,8 @@ 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
|
|
32
|
-
import { DigitalPerformanceNameplate as B, normalizeDigitalPerformanceName as O } from "../../DigitalPerformancePlugin/core/DigitalPerformanceNameplate.js";
|
|
30
|
+
import { PerformancePlayground as A, getChapterModelDuration as I, getChapterDuration as N } from "../core/Playground.js";
|
|
31
|
+
import { CameraTrack as V } from "../core/CameraTrack.js";
|
|
33
32
|
import "../../DigitalPerformancePlugin/core/DigitalPlayground.js";
|
|
34
33
|
import "@realsee/five/gltf-loader";
|
|
35
34
|
import "../../DigitalPerformancePlugin/core/DigitalHuman.js";
|
|
@@ -40,12 +39,12 @@ import "../core/PerformanceClock.js";
|
|
|
40
39
|
import "../core/CameraDirector.js";
|
|
41
40
|
import "../core/FiveModelCameraBridge.js";
|
|
42
41
|
import "../core/CameraSampler.js";
|
|
43
|
-
const
|
|
44
|
-
class
|
|
42
|
+
const O = "Dnalogel-DigitalPerformanceV2Plugin", L = "five-world";
|
|
43
|
+
class $ {
|
|
45
44
|
constructor(e, t = {}) {
|
|
46
45
|
h(this, "five");
|
|
47
46
|
h(this, "config");
|
|
48
|
-
h(this, "NAME",
|
|
47
|
+
h(this, "NAME", O);
|
|
49
48
|
h(this, "playground");
|
|
50
49
|
h(this, "state", {
|
|
51
50
|
enabled: !0,
|
|
@@ -59,9 +58,6 @@ class re {
|
|
|
59
58
|
h(this, "groupProgressListeners", /* @__PURE__ */ new Set());
|
|
60
59
|
h(this, "keyframesChangedListeners", /* @__PURE__ */ new Set());
|
|
61
60
|
h(this, "currentChapterChangedListeners", /* @__PURE__ */ new Set());
|
|
62
|
-
h(this, "nameplate");
|
|
63
|
-
h(this, "unsubNameplateRender", null);
|
|
64
|
-
h(this, "unsubNameplateCameraUpdate", null);
|
|
65
61
|
h(this, "unsubClockTick", null);
|
|
66
62
|
/**
|
|
67
63
|
* 进入编辑时的运镜内存态快照:以章节对象为 key,值为该章节相机关键帧的深拷贝;
|
|
@@ -98,13 +94,13 @@ class re {
|
|
|
98
94
|
h(this, "chapterFloorModel", null);
|
|
99
95
|
/** five 'modeChange' 楼层重放监听的反订阅句柄(chapterFloorMap 启用时挂载,停用/reset/dispose 时清理) */
|
|
100
96
|
h(this, "unsubFloorModeChange", null);
|
|
101
|
-
this.five = e, this.config = g({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1 }, t), this.playground = new
|
|
97
|
+
this.five = e, this.config = g({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1 }, t), this.playground = new A(e, this.config.debug), this.unsubClockTick = this.playground.getClock().onTick(() => this.emitProgress());
|
|
102
98
|
}
|
|
103
99
|
/** 加载剧本:预加载资源 + 将模型加入 five 场景;autoPlay 时自动播放首章 */
|
|
104
100
|
loadScript(e) {
|
|
105
101
|
return m(this, null, function* () {
|
|
106
102
|
var t;
|
|
107
|
-
if (this.state.currentScript = e, this.
|
|
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) {
|
|
108
104
|
yield new Promise((a) => requestAnimationFrame(() => a()));
|
|
109
105
|
let r = 0;
|
|
110
106
|
if (e.chapters.forEach((a) => {
|
|
@@ -123,7 +119,7 @@ class re {
|
|
|
123
119
|
/** 播放指定章节 */
|
|
124
120
|
playChapter(e) {
|
|
125
121
|
return m(this, null, function* () {
|
|
126
|
-
this.state.currentChapter = e, this.
|
|
122
|
+
this.state.currentChapter = e, this.applyChapterFloor(this.getCurrentChapterIndex()), this.state.continuousPlaying = !1, this.state.playing = !0;
|
|
127
123
|
try {
|
|
128
124
|
yield this.playground.playByChapter(e);
|
|
129
125
|
} finally {
|
|
@@ -155,7 +151,7 @@ class re {
|
|
|
155
151
|
try {
|
|
156
152
|
for (; t >= 0 && t < e.length && this.state.continuousPlaying; ) {
|
|
157
153
|
let r = 0;
|
|
158
|
-
if (this.seekRedirect && this.seekRedirect.index === t && (r = this.seekRedirect.fromTime), this.seekRedirect = null, this.state.currentChapter = e[t], this.
|
|
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) {
|
|
159
155
|
t = this.seekRedirect.index;
|
|
160
156
|
continue;
|
|
161
157
|
}
|
|
@@ -387,7 +383,7 @@ class re {
|
|
|
387
383
|
name: (t = e == null ? void 0 : e.name) != null ? t : "camera",
|
|
388
384
|
type: "camera",
|
|
389
385
|
keyframes: this.serializeKeyframes(e),
|
|
390
|
-
coordinateSpace:
|
|
386
|
+
coordinateSpace: L
|
|
391
387
|
}
|
|
392
388
|
};
|
|
393
389
|
}
|
|
@@ -408,7 +404,7 @@ class re {
|
|
|
408
404
|
name: (s = a.name) != null ? s : "camera",
|
|
409
405
|
type: "camera",
|
|
410
406
|
keyframes: this.serializeKeyframes(a),
|
|
411
|
-
coordinateSpace:
|
|
407
|
+
coordinateSpace: L
|
|
412
408
|
}
|
|
413
409
|
});
|
|
414
410
|
}), e;
|
|
@@ -426,7 +422,7 @@ class re {
|
|
|
426
422
|
return;
|
|
427
423
|
const i = t[s], o = e[s];
|
|
428
424
|
let n = i.players.find((u) => u.type === "camera");
|
|
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,
|
|
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, f) => u.timeStamp - f.timeStamp), o.coordinateSpace && (n.coordinateSpace = o.coordinateSpace);
|
|
430
426
|
});
|
|
431
427
|
const r = this.cameraPlayerOf(this.state.currentChapter);
|
|
432
428
|
r && this.playground.setCameraKeyframes(r.keyframes);
|
|
@@ -465,26 +461,26 @@ class re {
|
|
|
465
461
|
* 无任何可用模型几何(未加载/无 model player/包围盒空)时返回 undefined。
|
|
466
462
|
*/
|
|
467
463
|
deriveChapterModelFramingView(e) {
|
|
468
|
-
var
|
|
464
|
+
var d, F, M;
|
|
469
465
|
const t = this.getChapters();
|
|
470
466
|
if (e < 0 || e >= t.length)
|
|
471
467
|
return;
|
|
472
468
|
const r = t[e], a = new T.Box3();
|
|
473
469
|
let s = !1;
|
|
474
|
-
if (r.players.forEach((
|
|
475
|
-
var E, C,
|
|
476
|
-
if (
|
|
470
|
+
if (r.players.forEach((S) => {
|
|
471
|
+
var E, C, v, K;
|
|
472
|
+
if (S.type !== "model")
|
|
477
473
|
return;
|
|
478
|
-
const
|
|
474
|
+
const b = S, P = (v = (C = (E = this.playground) == null ? void 0 : E.loader) == null ? void 0 : C.getDigitalHuman) == null ? void 0 : v.call(C, b.model, b.id), y = P == null ? void 0 : P.container;
|
|
479
475
|
if (!y)
|
|
480
476
|
return;
|
|
481
|
-
(
|
|
477
|
+
(K = y.updateWorldMatrix) == null || K.call(y, !0, !0);
|
|
482
478
|
const w = new T.Box3().setFromObject(y);
|
|
483
479
|
w.isEmpty() || (a.union(w), s = !0);
|
|
484
480
|
}), !s || a.isEmpty())
|
|
485
481
|
return;
|
|
486
|
-
const i = a.getCenter(new T.Vector3()), o = a.getSize(new T.Vector3()).length(), n = (
|
|
487
|
-
return { target: i, longitude: l, latitude: c, distance:
|
|
482
|
+
const i = a.getCenter(new T.Vector3()), o = a.getSize(new T.Vector3()).length(), n = (M = (F = (d = this.five).getCurrentState) == null ? void 0 : F.call(d)) != null ? M : {}, 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, f = this.clamp(o * 2.5, 4, 14);
|
|
483
|
+
return { target: i, longitude: l, latitude: c, distance: f, fov: u };
|
|
488
484
|
}
|
|
489
485
|
/**
|
|
490
486
|
* 设为当前编辑章节(不开始播放)。该次调用内联动完成:
|
|
@@ -497,7 +493,7 @@ class re {
|
|
|
497
493
|
if (e < 0 || e >= t.length)
|
|
498
494
|
return;
|
|
499
495
|
const r = t[e];
|
|
500
|
-
this.playground.pause(), this.state.playing = !1, this.state.currentChapter = r, this.
|
|
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();
|
|
501
497
|
}
|
|
502
498
|
/** 当前章节信息:{ index, name, duration };duration 为该章节模型动画时长(排除相机 player) */
|
|
503
499
|
getCurrentChapterInfo() {
|
|
@@ -505,7 +501,7 @@ class re {
|
|
|
505
501
|
return e ? {
|
|
506
502
|
index: this.getCurrentChapterIndex(),
|
|
507
503
|
name: e.name,
|
|
508
|
-
duration:
|
|
504
|
+
duration: I(e)
|
|
509
505
|
} : { index: -1, name: "", duration: 0 };
|
|
510
506
|
}
|
|
511
507
|
/** 注册当前章节变更监听(current-chapter-changed);返回反订阅函数 */
|
|
@@ -549,7 +545,7 @@ class re {
|
|
|
549
545
|
getProgress() {
|
|
550
546
|
const e = this.playground.getClock(), t = e.getTime();
|
|
551
547
|
let r = e.getDuration();
|
|
552
|
-
r <= 0 && this.state.currentChapter && (r =
|
|
548
|
+
r <= 0 && this.state.currentChapter && (r = N(this.state.currentChapter));
|
|
553
549
|
const a = this.getChapters(), s = this.state.currentChapter, i = s ? a.findIndex((o) => o === s || o.name === s.name) : -1;
|
|
554
550
|
return { currentTime: t, totalTime: r, currentChapterIndex: i, totalChapters: a.length };
|
|
555
551
|
}
|
|
@@ -573,7 +569,7 @@ class re {
|
|
|
573
569
|
const t = this.getChapters(), r = [];
|
|
574
570
|
let a = 0;
|
|
575
571
|
for (let s = 0; s < t.length; s++) {
|
|
576
|
-
const i =
|
|
572
|
+
const i = I(t[s]), o = a, n = o + i;
|
|
577
573
|
r.push({ index: s, name: t[s].name, startTime: o, endTime: n, duration: i }), a = n;
|
|
578
574
|
}
|
|
579
575
|
return this.groupChapterTimeMapCache = r, this.groupChapterTimeMapCacheScript = e, r;
|
|
@@ -617,7 +613,7 @@ class re {
|
|
|
617
613
|
*/
|
|
618
614
|
setCurrentChapterForPlayback(e, t) {
|
|
619
615
|
const r = this.getChapters();
|
|
620
|
-
e < 0 || e >= r.length || (this.state.currentChapter = r[e], this.
|
|
616
|
+
e < 0 || e >= r.length || (this.state.currentChapter = r[e], this.applyChapterFloor(e), this.playground.prepareChapter(r[e], t));
|
|
621
617
|
}
|
|
622
618
|
/**
|
|
623
619
|
* 跳转到组级时间(ms):映射为 (章节 index, 章节内时间),必要时切章后 setTimelineTo。
|
|
@@ -677,50 +673,13 @@ class re {
|
|
|
677
673
|
getState() {
|
|
678
674
|
return { playing: this.state.playing, currentChapter: this.state.currentChapter };
|
|
679
675
|
}
|
|
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
|
-
}
|
|
717
676
|
/** 重置播放(保留已加载资源) */
|
|
718
677
|
reset() {
|
|
719
|
-
this.playground.reset(), this.state.playing = !1, this.state.continuousPlaying = !1, this.state.currentChapter = null, this.state.selectedShotIndex = null, this.seekRedirect = null, this.
|
|
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();
|
|
720
679
|
}
|
|
721
680
|
/** 销毁插件、释放资源 */
|
|
722
681
|
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.
|
|
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();
|
|
724
683
|
}
|
|
725
684
|
/** 预加载模型 / 动画 / 道具(复用 Shared_Core 加载) */
|
|
726
685
|
preloadResources(e) {
|
|
@@ -732,14 +691,14 @@ class re {
|
|
|
732
691
|
return;
|
|
733
692
|
const l = n;
|
|
734
693
|
t.push(l.model), r.push(n.id), l.keyframes.forEach((c) => {
|
|
735
|
-
var
|
|
694
|
+
var f, d;
|
|
736
695
|
if (!c.animation)
|
|
737
696
|
return;
|
|
738
697
|
a.add(c.animation.url);
|
|
739
698
|
const u = c.animation.item;
|
|
740
699
|
u && (s.push(u.url), i.set(u.url, {
|
|
741
|
-
position: (
|
|
742
|
-
rotation: (
|
|
700
|
+
position: (f = u.position) != null ? f : [0, 0, 0],
|
|
701
|
+
rotation: (d = u.rotation) != null ? d : [0, 0, 0]
|
|
743
702
|
}));
|
|
744
703
|
});
|
|
745
704
|
});
|
|
@@ -851,7 +810,7 @@ class re {
|
|
|
851
810
|
const r = this.cameraPlayerOf(t[e]);
|
|
852
811
|
if (!r || r.keyframes.length === 0)
|
|
853
812
|
return null;
|
|
854
|
-
const a = new
|
|
813
|
+
const a = new V();
|
|
855
814
|
return a.setKeyframes(r.keyframes), a;
|
|
856
815
|
}
|
|
857
816
|
/** 深拷贝关键帧序列(数组字段亦深拷贝),供快照/还原使用(Mapview 位姿) */
|
|
@@ -870,5 +829,5 @@ class re {
|
|
|
870
829
|
}
|
|
871
830
|
}
|
|
872
831
|
export {
|
|
873
|
-
|
|
832
|
+
$ as default
|
|
874
833
|
};
|
|
@@ -17,7 +17,6 @@ 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;
|
|
21
20
|
export declare class PerformancePlayground {
|
|
22
21
|
/** 复用 Shared_Core 的加载与实例管理 */
|
|
23
22
|
readonly loader: DigitalPlayground;
|
|
@@ -26,15 +25,12 @@ export declare class PerformancePlayground {
|
|
|
26
25
|
private readonly clock;
|
|
27
26
|
private currentChapter;
|
|
28
27
|
private shownHumans;
|
|
29
|
-
private renderListeners;
|
|
30
28
|
private unsubTick;
|
|
31
29
|
/** 结束当前 pending 的 playByChapter Promise 的句柄(用于 reset 时干净收尾,避免 await 泄漏) */
|
|
32
30
|
private currentPlayResolve;
|
|
33
31
|
constructor(five: Five, debug?: boolean);
|
|
34
32
|
getClock(): PerformanceClock;
|
|
35
33
|
getCurrentChapter(): DigitalChapter | null;
|
|
36
|
-
/** 在模型 renderAtTime 完成后执行,供名牌等跟随 UI 使用。 */
|
|
37
|
-
onRender(listener: PerformanceRenderListener): () => void;
|
|
38
34
|
setScript(script: Parameters<DigitalPlayground['setScript']>[0]): void;
|
|
39
35
|
/**
|
|
40
36
|
* 播放指定章节:准备模型 → 统一时钟驱动 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 o = (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 I(s) {
|
|
25
25
|
let e = 0;
|
|
26
26
|
for (const t of s.players) {
|
|
27
27
|
if (t.type !== "model")
|
|
@@ -34,19 +34,18 @@ function K(s) {
|
|
|
34
34
|
function m(s, e, t) {
|
|
35
35
|
return s < e ? e : s > t ? t : s;
|
|
36
36
|
}
|
|
37
|
-
class
|
|
37
|
+
class V {
|
|
38
38
|
constructor(e, t = !1) {
|
|
39
39
|
/** 复用 Shared_Core 的加载与实例管理 */
|
|
40
|
-
|
|
40
|
+
o(this, "loader");
|
|
41
41
|
/** 运镜导演(消费 camera player,驱动 five 相机) */
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
n(this, "unsubTick", null);
|
|
42
|
+
o(this, "director");
|
|
43
|
+
o(this, "clock");
|
|
44
|
+
o(this, "currentChapter", null);
|
|
45
|
+
o(this, "shownHumans", []);
|
|
46
|
+
o(this, "unsubTick", null);
|
|
48
47
|
/** 结束当前 pending 的 playByChapter Promise 的句柄(用于 reset 时干净收尾,避免 await 泄漏) */
|
|
49
|
-
|
|
48
|
+
o(this, "currentPlayResolve", null);
|
|
50
49
|
this.loader = new C(t), this.clock = new T(e), this.director = new w(e);
|
|
51
50
|
}
|
|
52
51
|
getClock() {
|
|
@@ -55,10 +54,6 @@ class I {
|
|
|
55
54
|
getCurrentChapter() {
|
|
56
55
|
return this.currentChapter;
|
|
57
56
|
}
|
|
58
|
-
/** 在模型 renderAtTime 完成后执行,供名牌等跟随 UI 使用。 */
|
|
59
|
-
onRender(e) {
|
|
60
|
-
return this.renderListeners.add(e), () => this.renderListeners.delete(e);
|
|
61
|
-
}
|
|
62
57
|
setScript(e) {
|
|
63
58
|
this.loader.setScript(e);
|
|
64
59
|
}
|
|
@@ -72,10 +67,10 @@ class I {
|
|
|
72
67
|
playByChapter(e, t = 0, r) {
|
|
73
68
|
this.stopTick(), this.currentChapter = e, this.hideShownHumans(), this.shownHumans = this.showChapterModels(e), this.bindChapterCamera(e, !0);
|
|
74
69
|
const i = d(e);
|
|
75
|
-
return new Promise((
|
|
70
|
+
return new Promise((n) => {
|
|
76
71
|
let c = null;
|
|
77
72
|
const a = () => {
|
|
78
|
-
this.currentPlayResolve === a && (this.currentPlayResolve = null, c && c(), this.stopTick(),
|
|
73
|
+
this.currentPlayResolve === a && (this.currentPlayResolve = null, c && c(), this.stopTick(), n());
|
|
79
74
|
};
|
|
80
75
|
this.currentPlayResolve = a;
|
|
81
76
|
const h = () => {
|
|
@@ -113,8 +108,8 @@ class I {
|
|
|
113
108
|
showChapterModels(e) {
|
|
114
109
|
const t = e.players.filter((i) => i.type === "model"), r = [];
|
|
115
110
|
for (const i of t) {
|
|
116
|
-
const
|
|
117
|
-
|
|
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));
|
|
118
113
|
}
|
|
119
114
|
return r;
|
|
120
115
|
}
|
|
@@ -196,12 +191,11 @@ class I {
|
|
|
196
191
|
}
|
|
197
192
|
/** 释放资源 */
|
|
198
193
|
dispose() {
|
|
199
|
-
this.currentPlayResolve && this.currentPlayResolve(), this.stopTick(), this.clock.dispose(), this.director.dispose(), this.shownHumans = [], this.currentChapter = null, this.
|
|
194
|
+
this.currentPlayResolve && this.currentPlayResolve(), this.stopTick(), this.clock.dispose(), this.director.dispose(), this.shownHumans = [], this.currentChapter = null, this.loader.dispose();
|
|
200
195
|
}
|
|
201
196
|
renderShownAt(e, t) {
|
|
202
197
|
for (const r of this.shownHumans)
|
|
203
198
|
r.renderAtTime(e, t);
|
|
204
|
-
this.renderListeners.forEach((r) => r(e, t));
|
|
205
199
|
}
|
|
206
200
|
hideShownHumans() {
|
|
207
201
|
for (const e of this.shownHumans)
|
|
@@ -213,7 +207,7 @@ class I {
|
|
|
213
207
|
}
|
|
214
208
|
}
|
|
215
209
|
export {
|
|
216
|
-
|
|
210
|
+
V as PerformancePlayground,
|
|
217
211
|
d as getChapterDuration,
|
|
218
|
-
|
|
212
|
+
I as getChapterModelDuration
|
|
219
213
|
};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import r from "../controller/index.js";
|
|
2
|
-
|
|
3
|
-
const e = (o, t) => new r(o, t), f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2
|
+
const e = (o, t) => new r(o, t), l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
3
|
__proto__: null,
|
|
5
|
-
DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH: i,
|
|
6
|
-
DigitalPerformanceNameplate: l,
|
|
7
4
|
DigitalPerformanceV2Plugin: e,
|
|
8
5
|
DigitalPerformanceV2PluginController: r,
|
|
9
|
-
default: e
|
|
10
|
-
normalizeDigitalPerformanceName: n
|
|
6
|
+
default: e
|
|
11
7
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
12
8
|
export {
|
|
13
9
|
e as DigitalPerformanceV2Plugin,
|
|
14
|
-
|
|
10
|
+
l as index
|
|
15
11
|
};
|
|
@@ -2,8 +2,6 @@ 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';
|
|
7
5
|
export * from './typings';
|
|
8
6
|
export type DigitalPerformanceV2PluginExportInterface = InstanceType<typeof DigitalPerformanceV2PluginController>;
|
|
9
7
|
export type DigitalPerformanceV2PluginParamsInterface = ConstructorParameters<typeof DigitalPerformanceV2PluginController>[1];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import {
|
|
3
|
-
import { DigitalPerformanceV2Plugin as L, DigitalPerformanceV2Plugin as M } from "./index/index.js";
|
|
1
|
+
import { default as D } from "./controller/index.js";
|
|
2
|
+
import { DigitalPerformanceV2Plugin as d, DigitalPerformanceV2Plugin as s } from "./index/index.js";
|
|
4
3
|
import "three";
|
|
5
4
|
import "./core/Playground.js";
|
|
6
5
|
import "../DigitalPerformancePlugin/core/DigitalPlayground.js";
|
|
@@ -15,10 +14,7 @@ import "./core/CameraSampler.js";
|
|
|
15
14
|
import "./core/CameraDirector.js";
|
|
16
15
|
import "./core/FiveModelCameraBridge.js";
|
|
17
16
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
u as DigitalPerformanceV2PluginController,
|
|
22
|
-
M as default,
|
|
23
|
-
_ as normalizeDigitalPerformanceName
|
|
17
|
+
d as DigitalPerformanceV2Plugin,
|
|
18
|
+
D as DigitalPerformanceV2PluginController,
|
|
19
|
+
s as default
|
|
24
20
|
};
|