@nnepoch/dtc-sdk 3.0.10 → 3.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/dtc-sdk-3.0.12.js +2 -0
- package/dist/cjs/index.cjs +4 -4
- package/dist/cjs/index.d.cts +373 -24
- package/dist/esm/index.d.ts +373 -24
- package/dist/esm/index.js +4 -4
- package/docs/api/api/classes/ApiRegistryError.md +2 -2
- package/docs/api/api/classes/Camera.md +3 -3
- package/docs/api/api/classes/GizmosTool.md +94 -0
- package/docs/api/api/classes/HeatMap.md +217 -0
- package/docs/api/api/classes/HighLighterEffect.md +6 -0
- package/docs/api/api/classes/Layer.md +103 -1
- package/docs/api/api/classes/Model.md +58 -0
- package/docs/api/api/classes/Navigation.md +618 -0
- package/docs/api/api/classes/PathPatrol.md +8 -4
- package/docs/api/api/classes/PointEditor.md +265 -0
- package/docs/api/api/classes/PointIcon.md +275 -0
- package/docs/api/api/classes/SpatialQuery.md +175 -0
- package/docs/api/api/classes/TimeLine.md +4 -0
- package/docs/api/api/classes/TrainSimulate.md +250 -0
- package/docs/api/api/classes/WeatherSystem.md +55 -6
- package/docs/api/api/classes/WebView.md +61 -0
- package/docs/api/api/index.md +11 -0
- package/docs/api/api/interfaces/ApiInstanceMap.md +52 -0
- package/docs/api/api/interfaces/ApiRegistryContext.md +21 -1
- package/docs/api/api/interfaces/PointIconIdsRequest.md +9 -0
- package/docs/api/api/interfaces/PointIconVisibilityResult.md +31 -0
- package/docs/api/api/type-aliases/ApiModuleFactory.md +1 -1
- package/docs/api/api/type-aliases/PointIconIdsInput.md +5 -0
- package/docs/api/application/DTCEngine/classes/DTCEngine.md +72 -0
- package/docs/api/application/DTCEngine/interfaces/DTCEngineOptions.md +2 -2
- package/docs/api/index.md +1 -1
- package/docs/api/typedoc-sidebar.json +260 -0
- package/docs/api/types/enumerations/FilterMode.md +21 -0
- package/docs/api/types/enumerations/GizmoType.md +37 -0
- package/docs/api/types/enumerations/TrainBehavior.md +29 -0
- package/docs/api/types/index.md +54 -0
- package/docs/api/types/interfaces/AnimationGetLengthRequest.md +1 -1
- package/docs/api/types/interfaces/AnimationPlayRequest.md +5 -5
- package/docs/api/types/interfaces/AnimationSetSpeedRequest.md +1 -1
- package/docs/api/types/interfaces/AnimationStartLoopRequest.md +4 -4
- package/docs/api/types/interfaces/AnimationStopLoopRequest.md +1 -1
- package/docs/api/types/interfaces/AnimationStopRequest.md +1 -1
- package/docs/api/types/interfaces/ApiRequestEnvelope.md +1 -1
- package/docs/api/types/interfaces/ApiResponseEnvelope.md +3 -3
- package/docs/api/types/interfaces/AuthSessionSnapshot.md +4 -4
- package/docs/api/types/interfaces/BuildingFloorCancelOptions.md +11 -0
- package/docs/api/types/interfaces/BuildingFloorItem.md +29 -0
- package/docs/api/types/interfaces/BuildingFloorOverview.md +21 -0
- package/docs/api/types/interfaces/BuildingFloorOverviewOptions.md +19 -0
- package/docs/api/types/interfaces/BuildingFloorRegistration.md +37 -0
- package/docs/api/types/interfaces/BuildingFloorRegistrationResult.md +11 -0
- package/docs/api/types/interfaces/BuildingFloorState.md +35 -0
- package/docs/api/types/interfaces/BuildingFloorStateOptions.md +11 -0
- package/docs/api/types/interfaces/BuildingFloorSwitchOptions.md +25 -0
- package/docs/api/types/interfaces/BuildingFloorTransitionResult.md +43 -0
- package/docs/api/types/interfaces/BuildingFloorViewPoint.md +37 -0
- package/docs/api/types/interfaces/CameraFlyByPathRequest.md +4 -4
- package/docs/api/types/interfaces/CameraFlyToTargetRequest.md +11 -3
- package/docs/api/types/interfaces/CameraLookAtRequest.md +7 -7
- package/docs/api/types/interfaces/CameraObjFollowRequest.md +3 -3
- package/docs/api/types/interfaces/CenterConnectResult.md +4 -4
- package/docs/api/types/interfaces/CenterEnvelope.md +4 -4
- package/docs/api/types/interfaces/CenterServiceInfo.md +5 -5
- package/docs/api/types/interfaces/CenterTokenAuthorizeResult.md +1 -1
- package/docs/api/types/interfaces/DlssSetEnableRequest.md +2 -2
- package/docs/api/types/interfaces/DlssSetQualityRequest.md +1 -1
- package/docs/api/types/interfaces/EngineConfig.md +34 -18
- package/docs/api/types/interfaces/GizmosStartSimpleRequest.md +21 -0
- package/docs/api/types/interfaces/HeatMapConfigRequest.md +53 -0
- package/docs/api/types/interfaces/HeatMapCreateRequest.md +85 -0
- package/docs/api/types/interfaces/HeatMapPointRequest.md +21 -0
- package/docs/api/types/interfaces/HeatMapRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/HighLighterRemoveHighLightModelRequest.md +1 -1
- package/docs/api/types/interfaces/HighLighterSetHighLightModelRequest.md +1 -1
- package/docs/api/types/interfaces/LayerAddRequest.md +14 -6
- package/docs/api/types/interfaces/LayerChildElementRequest.md +1 -1
- package/docs/api/types/interfaces/LayerModelAddRequest.md +19 -7
- package/docs/api/types/interfaces/LayerPOIAddRequest.md +22 -14
- package/docs/api/types/interfaces/LayerResetPOINameRequest.md +21 -0
- package/docs/api/types/interfaces/LayerSelectorRequest.md +1 -1
- package/docs/api/types/interfaces/LayerShowUIPopRequest.md +5 -5
- package/docs/api/types/interfaces/LayerUpdatePOINameRequest.md +37 -0
- package/docs/api/types/interfaces/ModelAddRequest.md +5 -5
- package/docs/api/types/interfaces/ModelPOIAddRequest.md +3 -3
- package/docs/api/types/interfaces/ModelPOIUpdateRequest.md +4 -4
- package/docs/api/types/interfaces/ModelSelectorRequest.md +1 -1
- package/docs/api/types/interfaces/ModelSetVisibleByAttributeRequest.md +37 -0
- package/docs/api/types/interfaces/ModelSetVisibleByTagsRequest.md +1 -1
- package/docs/api/types/interfaces/ModelSetVisibleRequest.md +2 -2
- package/docs/api/types/interfaces/ModelTransformNodeRequest.md +1 -1
- package/docs/api/types/interfaces/ModelTransformRestoreRequest.md +1 -1
- package/docs/api/types/interfaces/ModelTransformRotateByTargetRequest.md +7 -7
- package/docs/api/types/interfaces/ModelTransformRotateRequest.md +1 -1
- package/docs/api/types/interfaces/ModelTransformScaleRequest.md +2 -2
- package/docs/api/types/interfaces/ModelTransformStartMoveRequest.md +5 -5
- package/docs/api/types/interfaces/NavigationMeshNavRequest.md +121 -0
- package/docs/api/types/interfaces/NavigationNavByPathRequest.md +61 -0
- package/docs/api/types/interfaces/NavigationNodeRequest.md +21 -0
- package/docs/api/types/interfaces/NavigationUpdateMeshNavRequest.md +45 -0
- package/docs/api/types/interfaces/NavigationUpdateNavPathRequest.md +45 -0
- package/docs/api/types/interfaces/NavigationUpdateSpeedRequest.md +27 -0
- package/docs/api/types/interfaces/NetworkAdaptationActionStep.md +1 -1
- package/docs/api/types/interfaces/NetworkAdaptationState.md +1 -1
- package/docs/api/types/interfaces/NetworkDecisionTrace.md +2 -2
- package/docs/api/types/interfaces/NetworkDiagnosticsSnapshot.md +2 -2
- package/docs/api/types/interfaces/NetworkMetricsSnapshot.md +7 -7
- package/docs/api/types/interfaces/PathPatrolAddRequest.md +18 -10
- package/docs/api/types/interfaces/PathPatrolNodeRequest.md +1 -1
- package/docs/api/types/interfaces/PathPatrolSetTimeNodeRequest.md +3 -3
- package/docs/api/types/interfaces/PathPatrolUpdateRequest.md +5 -5
- package/docs/api/types/interfaces/PointEditorAddRequest.md +149 -0
- package/docs/api/types/interfaces/PointEditorCategory.md +29 -0
- package/docs/api/types/interfaces/PointEditorClientPosition.md +21 -0
- package/docs/api/types/interfaces/PointEditorDeleteRequest.md +21 -0
- package/docs/api/types/interfaces/PointEditorDeleteResult.md +21 -0
- package/docs/api/types/interfaces/PointEditorResource.md +37 -0
- package/docs/api/types/interfaces/PointEditorScreenPosition.md +21 -0
- package/docs/api/types/interfaces/PointEditorVector.md +29 -0
- package/docs/api/types/interfaces/PopupAddRequest.md +2 -2
- package/docs/api/types/interfaces/PopupItemRequest.md +5 -5
- package/docs/api/types/interfaces/PopupRemoveRequest.md +2 -2
- package/docs/api/types/interfaces/PopupShowRequest.md +3 -3
- package/docs/api/types/interfaces/PopupSyncInfoRequest.md +2 -2
- package/docs/api/types/interfaces/QosEvent.md +5 -5
- package/docs/api/types/interfaces/QosRuntimeContext.md +4 -4
- package/docs/api/types/interfaces/ResolvedEngineConfig.md +17 -5
- package/docs/api/types/interfaces/ScreenSetSceneFPSRequest.md +1 -1
- package/docs/api/types/interfaces/ScreenSetSceneRenderBitrateRequest.md +1 -1
- package/docs/api/types/interfaces/ScreenSetScreenResolutionRequest.md +2 -2
- package/docs/api/types/interfaces/SignallingAllocateResponse.md +4 -4
- package/docs/api/types/interfaces/SpatialQueryLayerByModelBoxRequest.md +29 -0
- package/docs/api/types/interfaces/SpatialQueryLayerByModelRequest.md +53 -0
- package/docs/api/types/interfaces/SpatialQueryLayerByPositionRequest.md +45 -0
- package/docs/api/types/interfaces/StandardResponse.md +1 -1
- package/docs/api/types/interfaces/TimelineNodeRequest.md +2 -2
- package/docs/api/types/interfaces/TimelinePlayRequest.md +6 -6
- package/docs/api/types/interfaces/TimelineSetSpeedRequest.md +3 -3
- package/docs/api/types/interfaces/TimelineStopRequest.md +5 -5
- package/docs/api/types/interfaces/TrainSimulateSetCameraFollowTrainRequest.md +29 -0
- package/docs/api/types/interfaces/TrainSimulateSetTrainBehaviorRequest.md +29 -0
- package/docs/api/types/interfaces/TrainSimulateSetTrainVolumeRequest.md +29 -0
- package/docs/api/types/interfaces/TrainSimulateStartTrainRequest.md +77 -0
- package/docs/api/types/interfaces/UIPOIEnableOverlapRequest.md +1 -1
- package/docs/api/types/interfaces/Vector2JsonInput.md +15 -0
- package/docs/api/types/interfaces/WeatherChangeSeasonRequest.md +1 -1
- package/docs/api/types/interfaces/WeatherOpenCameraFogRequest.md +8 -8
- package/docs/api/types/interfaces/WeatherSetAnimateTimeOfDayRequest.md +3 -3
- package/docs/api/types/interfaces/WeatherSetSceneTimeRequest.md +1 -1
- package/docs/api/types/interfaces/WeatherSetTimeSyncRequest.md +1 -1
- package/docs/api/types/interfaces/WeatherSetVolumeRequest.md +13 -0
- package/docs/api/types/interfaces/WeatherTypeRequest.md +2 -8
- package/docs/api/types/interfaces/WebViewUpdateRequest.md +29 -0
- package/docs/api/types/type-aliases/ApiCallback.md +1 -1
- package/docs/api/types/type-aliases/BuildingFloorFocusMode.md +5 -0
- package/docs/api/types/type-aliases/BuildingFloorInput.md +7 -0
- package/docs/api/types/type-aliases/BuildingFloorRuntimeStatus.md +5 -0
- package/docs/api/types/type-aliases/BuildingFloorTransitionStatus.md +5 -0
- package/docs/api/types/type-aliases/PointEditorCreateCallback.md +7 -0
- package/docs/api/types/type-aliases/PointEditorPoint.md +7 -0
- package/docs/api/types/type-aliases/PointEditorUpdateRequest.md +15 -0
- package/docs/api/types/type-aliases/Vector2Input.md +5 -0
- package/package.json +1 -1
- package/dist/browser/dtc-sdk-3.0.10.js +0 -2
package/dist/esm/index.d.ts
CHANGED
|
@@ -998,6 +998,17 @@ declare enum TrainBehavior {
|
|
|
998
998
|
/** 反复播放(来回移动)。 */
|
|
999
999
|
BackAndForward = "BackAndForward"
|
|
1000
1000
|
}
|
|
1001
|
+
/** 简易模型编辑模式,数值与 sdk2 保持一致。 */
|
|
1002
|
+
declare enum GizmoType {
|
|
1003
|
+
/** 平移。 */
|
|
1004
|
+
Move = 1,
|
|
1005
|
+
/** 旋转。 */
|
|
1006
|
+
Rotate = 2,
|
|
1007
|
+
/** 缩放。 */
|
|
1008
|
+
Scale = 3,
|
|
1009
|
+
/** 平移、旋转及可用缩放手柄。 */
|
|
1010
|
+
Universal = 4
|
|
1011
|
+
}
|
|
1001
1012
|
//#endregion
|
|
1002
1013
|
//#region src/types/request.d.ts
|
|
1003
1014
|
interface Vector3JsonInput {
|
|
@@ -1367,10 +1378,9 @@ interface LayerChildElementRequest {
|
|
|
1367
1378
|
*/
|
|
1368
1379
|
interface WeatherTypeRequest {
|
|
1369
1380
|
/** 天气类型名称。 */
|
|
1370
|
-
|
|
1381
|
+
weatherType: string;
|
|
1371
1382
|
/** 天气类型持续时间(秒)。 */
|
|
1372
1383
|
timeDuration: number;
|
|
1373
|
-
test?: string;
|
|
1374
1384
|
}
|
|
1375
1385
|
/**
|
|
1376
1386
|
* WeatherSystem.changeWeatherType 参数。
|
|
@@ -1392,6 +1402,13 @@ interface WeatherSetTimeSyncRequest {
|
|
|
1392
1402
|
/** 是否同步系统时间。 */
|
|
1393
1403
|
syncSystemTime?: boolean;
|
|
1394
1404
|
}
|
|
1405
|
+
/**
|
|
1406
|
+
* WeatherSystem.setWeatherVolume 参数。
|
|
1407
|
+
*/
|
|
1408
|
+
interface WeatherSetVolumeRequest {
|
|
1409
|
+
/** 天气声音是否开启,true 开启,false 关闭。默认 true。 */
|
|
1410
|
+
volumeOn?: boolean;
|
|
1411
|
+
}
|
|
1395
1412
|
/**
|
|
1396
1413
|
* WeatherSystem.setAnimateTimeOfDay 参数。
|
|
1397
1414
|
*/
|
|
@@ -2559,6 +2576,120 @@ interface NetworkDiagnosticsSnapshot {
|
|
|
2559
2576
|
traces: NetworkDecisionTrace[];
|
|
2560
2577
|
}
|
|
2561
2578
|
//#endregion
|
|
2579
|
+
//#region src/types/pointEditor.d.ts
|
|
2580
|
+
/** 简易 Gizmo 编辑目标。 */
|
|
2581
|
+
interface GizmosStartSimpleRequest {
|
|
2582
|
+
/** 场景分组 ID,与运行时加载元数据一致,不能按重名对象猜测。 */
|
|
2583
|
+
parentId: string;
|
|
2584
|
+
/** MODEL 点位全局 ID。 */
|
|
2585
|
+
id: string;
|
|
2586
|
+
}
|
|
2587
|
+
/** 点位向量;位置采用经纬高,旋转、缩放不做地理坐标转换。 */
|
|
2588
|
+
interface PointEditorVector {
|
|
2589
|
+
/** 经度,或旋转/缩放的 X 分量。 */
|
|
2590
|
+
x: number;
|
|
2591
|
+
/** 纬度,或旋转/缩放的 Y 分量。 */
|
|
2592
|
+
y: number;
|
|
2593
|
+
/** 高度(米),或旋转/缩放的 Z 分量。 */
|
|
2594
|
+
z: number;
|
|
2595
|
+
}
|
|
2596
|
+
/** UE 模型资源;由业务资源目录提供,不使用 Unity 资源路径。 */
|
|
2597
|
+
interface PointEditorResource {
|
|
2598
|
+
/** 资源类别,仅支持 MODEL。 */
|
|
2599
|
+
type?: 'MODEL';
|
|
2600
|
+
/** 资源名称。 */
|
|
2601
|
+
name?: string;
|
|
2602
|
+
/** 可加载的 UE Actor 蓝图类路径。 */
|
|
2603
|
+
path: string;
|
|
2604
|
+
/** 模型附属 POI 的 UE Actor 蓝图路径;空字符串表示不创建图标。 */
|
|
2605
|
+
poiAsset?: string;
|
|
2606
|
+
}
|
|
2607
|
+
/** 点位分类,保留业务目录的分类标识和名称。 */
|
|
2608
|
+
interface PointEditorCategory {
|
|
2609
|
+
/** 分类业务编码,沿用 sdk2 的 code 字段。 */
|
|
2610
|
+
code?: string;
|
|
2611
|
+
/** 分类名称。 */
|
|
2612
|
+
name?: string;
|
|
2613
|
+
/** 分类类型,沿用现有资源目录的 type。 */
|
|
2614
|
+
type?: string;
|
|
2615
|
+
}
|
|
2616
|
+
/** drop 当时的浏览器视口坐标,不是页面滚动坐标。 */
|
|
2617
|
+
interface PointEditorClientPosition {
|
|
2618
|
+
/** 浏览器事件 clientX。 */
|
|
2619
|
+
clientX: number;
|
|
2620
|
+
/** 浏览器事件 clientY。 */
|
|
2621
|
+
clientY: number;
|
|
2622
|
+
}
|
|
2623
|
+
/** 视频完整图像中的归一化位置,范围 [0,1];需在实际 drop 时记录。 */
|
|
2624
|
+
interface PointEditorScreenPosition {
|
|
2625
|
+
/** 图像从左到右的比例。 */
|
|
2626
|
+
x: number;
|
|
2627
|
+
/** 图像从上到下的比例。 */
|
|
2628
|
+
y: number;
|
|
2629
|
+
}
|
|
2630
|
+
/** 模型点位创建参数;不传 position/screenPosition 时 addPoint 等待一次网页点击。 */
|
|
2631
|
+
interface PointEditorAddRequest {
|
|
2632
|
+
/** 场景分组 ID;可使用既有 MQTT 加载的分组,不要求 SDK 新建分组。 */
|
|
2633
|
+
parentId: string;
|
|
2634
|
+
/** 点位全局标识,对应后端 globalId,不是数据库主键。 */
|
|
2635
|
+
id: string;
|
|
2636
|
+
/** 本期只支持 MODEL,不支持独立 POI。 */
|
|
2637
|
+
type: 'MODEL';
|
|
2638
|
+
/** 业务编码,不用于替代 id。 */
|
|
2639
|
+
code?: string;
|
|
2640
|
+
/** 点位显示名称。 */
|
|
2641
|
+
name?: string;
|
|
2642
|
+
/** 已知的经纬高位置;与 screenPosition 二选一。 */
|
|
2643
|
+
position?: PointEditorVector;
|
|
2644
|
+
/** drop 时记录的视频图像坐标;addPointByDrag 未传 position 时必填。 */
|
|
2645
|
+
screenPosition?: PointEditorScreenPosition;
|
|
2646
|
+
/** 旋转(度);与既有 payload 约定一致:X=Roll、Y=Pitch、Z=Yaw。 */
|
|
2647
|
+
rotation?: PointEditorVector;
|
|
2648
|
+
/** 模型缩放,默认 (1, 1, 1)。 */
|
|
2649
|
+
scale?: PointEditorVector;
|
|
2650
|
+
/** 模型是否显示,默认 true。 */
|
|
2651
|
+
show?: boolean;
|
|
2652
|
+
/** 附属 POI 是否显示,默认 true。 */
|
|
2653
|
+
poiEnabled?: boolean;
|
|
2654
|
+
/** 附属 POI 向上偏移(米),默认 0。 */
|
|
2655
|
+
poiOffsetY?: number;
|
|
2656
|
+
/** 附属 POI 等比缩放,默认 1;允许 0。 */
|
|
2657
|
+
poiScaleFactor?: number;
|
|
2658
|
+
/** 附属 POI 是否显示名称,默认 true。 */
|
|
2659
|
+
poiShowName?: boolean;
|
|
2660
|
+
/** JSON 对象形式的业务属性,默认 {};更新时整体替换此字段。 */
|
|
2661
|
+
extraProps?: Record<string, unknown>;
|
|
2662
|
+
/** 视角配置字符串,空字符串可清空。 */
|
|
2663
|
+
lookAt?: string;
|
|
2664
|
+
/** 模型及可选附属 POI 的资源。 */
|
|
2665
|
+
resource: PointEditorResource;
|
|
2666
|
+
/** 业务分类。 */
|
|
2667
|
+
category?: PointEditorCategory;
|
|
2668
|
+
}
|
|
2669
|
+
/** 局部更新;只修改实际传入的字段,不套用创建默认值。 */
|
|
2670
|
+
type PointEditorUpdateRequest = Pick<PointEditorAddRequest, 'parentId' | 'id' | 'type'> & Partial<Omit<PointEditorAddRequest, 'parentId' | 'id' | 'type' | 'resource' | 'screenPosition'>> & {
|
|
2671
|
+
/** 资源属性局部合并;当前阶段不支持替换已创建模型的 path。 */
|
|
2672
|
+
resource?: Partial<PointEditorResource>;
|
|
2673
|
+
};
|
|
2674
|
+
/** 批量删除参数;先检查全部已存在目标的来源和类型,再执行删除。 */
|
|
2675
|
+
interface PointEditorDeleteRequest {
|
|
2676
|
+
/** 网页分组 ID。 */
|
|
2677
|
+
parentId: string;
|
|
2678
|
+
/** 待删除点位全局 ID 列表,不允许空数组或重复 ID。 */
|
|
2679
|
+
ids: string[];
|
|
2680
|
+
}
|
|
2681
|
+
/** 已创建点位,直接供 Promise 和 callback 读取 position 等属性。 */
|
|
2682
|
+
type PointEditorPoint = Omit<PointEditorAddRequest, 'screenPosition'> & Required<Pick<PointEditorAddRequest, 'position' | 'rotation' | 'scale' | 'show' | 'poiEnabled' | 'poiOffsetY' | 'poiScaleFactor' | 'poiShowName' | 'extraProps'>>;
|
|
2683
|
+
/** 创建失败通过 Error 回调,同时 Promise 拒绝。 */
|
|
2684
|
+
type PointEditorCreateCallback = ApiCallback<PointEditorPoint | Error>;
|
|
2685
|
+
/** 删除结果;不存在的 ID 进入 failedIds,不能视为全部成功。 */
|
|
2686
|
+
interface PointEditorDeleteResult {
|
|
2687
|
+
/** 成功删除的点位 ID。 */
|
|
2688
|
+
deletedIds: string[];
|
|
2689
|
+
/** 未找到或未成功删除的点位 ID。 */
|
|
2690
|
+
failedIds: string[];
|
|
2691
|
+
}
|
|
2692
|
+
//#endregion
|
|
2562
2693
|
//#region src/types/qos.d.ts
|
|
2563
2694
|
/**
|
|
2564
2695
|
* QoS 事件阶段定义。
|
|
@@ -2694,6 +2825,8 @@ declare class PixelStreamingAdapter {
|
|
|
2694
2825
|
* 断开当前 WebRTC 会话。
|
|
2695
2826
|
*/
|
|
2696
2827
|
disconnect(): void;
|
|
2828
|
+
/** 编辑时临时启用官方 HoveringMouse 输入(包括 cs 模式),退出后按原值恢复。 */
|
|
2829
|
+
beginPointEditorMouseInput(): () => void;
|
|
2697
2830
|
/**
|
|
2698
2831
|
* 设置用于 `PixelStreaming.connect()` 的同步信令 URL 提供函数。
|
|
2699
2832
|
*/
|
|
@@ -5225,6 +5358,8 @@ interface EngineEventMap {
|
|
|
5225
5358
|
'LoadingProgress': LoadingProgressInfo;
|
|
5226
5359
|
'OnApiDataChannelStarted': void;
|
|
5227
5360
|
'ModelClick': any;
|
|
5361
|
+
/** UE 拖动时持续回传变换,取消时回传恢复值;保留 sdk2 的 param JSON 字符串,由业务端防抖保存。 */
|
|
5362
|
+
'ModelUpdate': any;
|
|
5228
5363
|
'CameraHeight': any;
|
|
5229
5364
|
'MouseLeftButtonClick': any;
|
|
5230
5365
|
'MouseLeftButtonDoubleClick': any;
|
|
@@ -5551,7 +5686,7 @@ declare class TimeLine extends BaseApi {
|
|
|
5551
5686
|
/**
|
|
5552
5687
|
* 天气与时间环境控制 API。
|
|
5553
5688
|
* @agentTitle 天气时间环境
|
|
5554
|
-
* @agentCapabilities 天气类型查询, 天气切换, 天气重置, 天气时间重置, 场景时间设置, 时间同步控制, 昼夜动画控制, 昼夜模式设置, 季节切换, 季节重置, 雾效开启,
|
|
5689
|
+
* @agentCapabilities 天气类型查询, 天气切换, 天气重置, 天气时间重置, 场景时间设置, 时间同步控制, 昼夜动画控制, 昼夜模式设置, 季节切换, 季节重置, 雾效开启, 雾效关闭, 天气音量控制
|
|
5555
5690
|
* @hideconstructor
|
|
5556
5691
|
*/
|
|
5557
5692
|
declare class WeatherSystem extends BaseApi {
|
|
@@ -5561,33 +5696,33 @@ declare class WeatherSystem extends BaseApi {
|
|
|
5561
5696
|
* @param payload - 天气类型参数。
|
|
5562
5697
|
* @param callback - 可选回调函数。
|
|
5563
5698
|
* @returns Promise 形式的接口响应。
|
|
5564
|
-
|
|
5565
|
-
|
|
5699
|
+
* @agentSideEffects write
|
|
5700
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5566
5701
|
* @agentRiskLevel low
|
|
5567
|
-
* @agentExample {
|
|
5702
|
+
* @agentExample { weatherType: 'Clear_Skies', timeDuration: 6 }
|
|
5568
5703
|
* @example
|
|
5569
5704
|
* ```ts
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5705
|
+
dtcEngine.WeatherSystem.changeWeatherType({ weatherType: 'Clear_Skies', timeDuration: 6 }, (result) => {
|
|
5706
|
+
console.log(result);
|
|
5707
|
+
});
|
|
5573
5708
|
* ```
|
|
5574
5709
|
*/
|
|
5575
5710
|
changeWeatherType(payload: WeatherTypeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5576
5711
|
/**
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5712
|
+
* 得到所有天气类型。
|
|
5713
|
+
* 备注:(需在配置 提前预制UDS天气系统)
|
|
5714
|
+
* @param param 参数
|
|
5715
|
+
* @param callBack 回调
|
|
5716
|
+
* @returns
|
|
5717
|
+
* @agentSideEffects read
|
|
5718
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5719
|
+
* @agentRiskLevel low
|
|
5720
|
+
* @agentExample {}
|
|
5721
|
+
* @example
|
|
5722
|
+
* ```
|
|
5723
|
+
dtcEngine.WeatherSystem.getWeatherTypes((result)=>{console.log(result)})
|
|
5724
|
+
* ```
|
|
5725
|
+
*/
|
|
5591
5726
|
getWeatherTypes(callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5592
5727
|
/**
|
|
5593
5728
|
* 重置天气
|
|
@@ -5743,6 +5878,29 @@ declare class WeatherSystem extends BaseApi {
|
|
|
5743
5878
|
* ```
|
|
5744
5879
|
*/
|
|
5745
5880
|
setDayAndNight(payload: WeatherSetDayAndNightRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5881
|
+
/**
|
|
5882
|
+
* 设置天气声音的开关。
|
|
5883
|
+
* 默认值:`volumeOn=true`。`true` 开启,`false` 关闭。
|
|
5884
|
+
* @param payload - 天气声音开关参数。
|
|
5885
|
+
* @param callback - 可选回调函数。
|
|
5886
|
+
* @returns Promise 形式的接口响应。
|
|
5887
|
+
* @agentSideEffects write
|
|
5888
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5889
|
+
* @agentRiskLevel low
|
|
5890
|
+
* @agentExample { volumeOn: false }
|
|
5891
|
+
* @example
|
|
5892
|
+
* ```ts
|
|
5893
|
+
*示例1: 关闭天气声音
|
|
5894
|
+
dtcEngine.WeatherSystem.setWeatherVolume({ volumeOn: false }, (result) => {
|
|
5895
|
+
console.log(result);
|
|
5896
|
+
});
|
|
5897
|
+
* 示例2: 开启天气声音
|
|
5898
|
+
dtcEngine.WeatherSystem.setWeatherVolume({ volumeOn: true }, (result) => {
|
|
5899
|
+
console.log(result);
|
|
5900
|
+
});
|
|
5901
|
+
* ```
|
|
5902
|
+
*/
|
|
5903
|
+
setWeatherVolume(payload: WeatherSetVolumeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5746
5904
|
/**
|
|
5747
5905
|
* 开启并调整相机镜头雾效。
|
|
5748
5906
|
* 默认值:未填的数值字段统一按 `-1` 下发(沿用 sdk2 语义)。
|
|
@@ -6122,6 +6280,182 @@ declare class Type {
|
|
|
6122
6280
|
readonly Vector4: typeof Vector4;
|
|
6123
6281
|
}
|
|
6124
6282
|
//#endregion
|
|
6283
|
+
//#region src/api/PointEditor.d.ts
|
|
6284
|
+
interface PointEditorRuntimeOptions extends BaseApiRuntimeOptions {
|
|
6285
|
+
/** 延迟获取当前实例的视频,不在模块创建时缓存可能尚未生成的元素。 */
|
|
6286
|
+
getVideoElement?: () => HTMLVideoElement | null;
|
|
6287
|
+
}
|
|
6288
|
+
/**
|
|
6289
|
+
* MODEL 打点 API,复用既有场景对象;不读写平台 JSON、PointTool 文件或修改 MQTT 流程。
|
|
6290
|
+
* PointTool 本地工作台对象仍由其自身管理;本期不支持独立 POI。
|
|
6291
|
+
* @agentTitle 模型点位编辑
|
|
6292
|
+
* @agentCapabilities 按坐标创建点位, 点击创建点位, 拖放创建点位, 落点坐标换算, 取消点位放置, 局部更新点位, 批量删除点位
|
|
6293
|
+
* @hideconstructor
|
|
6294
|
+
*/
|
|
6295
|
+
declare class PointEditor extends BaseApi {
|
|
6296
|
+
private readonly placement;
|
|
6297
|
+
private readonly getVideo;
|
|
6298
|
+
/** 取消/断连发生在异步校验或点击完成后时,也不能让旧操作继续发出创建请求。 */
|
|
6299
|
+
private readonly placementState;
|
|
6300
|
+
constructor(bridge: ApiBridge, runtimeOptions?: PointEditorRuntimeOptions);
|
|
6301
|
+
/**
|
|
6302
|
+
* 创建模型点位;未传 position/screenPosition 时等待视频区域的一次有效点击,可按 Escape/右键取消。
|
|
6303
|
+
* 默认显示模型和附属 POI,缩放为 (1,1,1),旋转为 (0,0,0)。
|
|
6304
|
+
* @param payload - 网页分组、全局 ID、坐标及 UE 资源。
|
|
6305
|
+
* @param callback - 成功收到实际点位;失败收到 Error。
|
|
6306
|
+
* @returns UE 实际创建的点位,不是通用响应信封。
|
|
6307
|
+
* @agentSideEffects write
|
|
6308
|
+
* @agentPreconditions 已建立 WebRTC 连接,UE CoreModules 支持 sdk3 点位编辑
|
|
6309
|
+
* @agentRiskLevel medium
|
|
6310
|
+
* @agentExample { parentId: 'sdk3-point-editor-test', id: 'G-test-1', type: 'MODEL', position: { x: 120, y: 30, z: 5 }, resource: { path: '/Game/Devices/BP_Camera.BP_Camera_C' } }
|
|
6311
|
+
* @example
|
|
6312
|
+
* ```ts
|
|
6313
|
+
* const point = await dtcEngine.PointEditor.addPoint({
|
|
6314
|
+
* parentId: 'sdk3-point-editor-test', id: 'G-test-1', type: 'MODEL',
|
|
6315
|
+
* position: { x: 120, y: 30, z: 5 },
|
|
6316
|
+
* resource: { path: '/Game/Devices/BP_Camera.BP_Camera_C' }
|
|
6317
|
+
* });
|
|
6318
|
+
* console.log(point.position);
|
|
6319
|
+
* ```
|
|
6320
|
+
*/
|
|
6321
|
+
addPoint(payload: PointEditorAddRequest, callback?: PointEditorCreateCallback): Promise<PointEditorPoint>;
|
|
6322
|
+
/**
|
|
6323
|
+
* 拖放创建;使用 drop 当时保存的 screenPosition 或显式经纬高,不读取当前或上一次鼠标位置。
|
|
6324
|
+
* @param payload - 点位参数及 position 或 screenPosition(二选一)。
|
|
6325
|
+
* @param callback - 成功收到实际点位;失败收到 Error。
|
|
6326
|
+
* @returns UE 实际创建的点位。
|
|
6327
|
+
* @agentSideEffects write
|
|
6328
|
+
* @agentPreconditions 已建立 WebRTC 连接;必须提供 position 或 drop 时记录的 screenPosition
|
|
6329
|
+
* @agentRiskLevel medium
|
|
6330
|
+
* @agentExample { parentId: 'sdk3-point-editor-test', id: 'G-test-2', type: 'MODEL', position: { x: 120, y: 30, z: 5 }, resource: { path: '/Game/Devices/BP_Camera.BP_Camera_C' } }
|
|
6331
|
+
* @example
|
|
6332
|
+
* ```ts
|
|
6333
|
+
* await dtcEngine.PointEditor.addPointByDrag({ ...point, id: 'G-copy-1' }, (result) => {
|
|
6334
|
+
* if (result instanceof Error) return console.error(result);
|
|
6335
|
+
* console.log(result.position);
|
|
6336
|
+
* });
|
|
6337
|
+
* ```
|
|
6338
|
+
*/
|
|
6339
|
+
addPointByDrag(payload: PointEditorAddRequest, callback?: PointEditorCreateCallback): Promise<PointEditorPoint>;
|
|
6340
|
+
/**
|
|
6341
|
+
* 在实际 drop 事件中同步换算位置,随后可等待后端保存;不在等待结束后重新读取鼠标。
|
|
6342
|
+
* 校验有效视频区域并排除 contain 黑边,支持页面偏移、滚动及轴对齐 CSS 缩放。
|
|
6343
|
+
* @param payload - 事件的 clientX/clientY,不是 pageX/pageY。
|
|
6344
|
+
* @returns 视频完整图像中的归一化坐标。
|
|
6345
|
+
* @agentSideEffects read
|
|
6346
|
+
* @agentPreconditions 视频已就绪,必须使用真实 drop 事件坐标
|
|
6347
|
+
* @agentRiskLevel low
|
|
6348
|
+
* @agentExample { clientX: 400, clientY: 300 }
|
|
6349
|
+
* @example
|
|
6350
|
+
* ```ts
|
|
6351
|
+
* const screenPosition = dtcEngine.PointEditor.getScreenPosition({ clientX: event.clientX, clientY: event.clientY });
|
|
6352
|
+
* await savePointToBackend();
|
|
6353
|
+
* await dtcEngine.PointEditor.addPointByDrag({ ...payload, screenPosition });
|
|
6354
|
+
* ```
|
|
6355
|
+
*/
|
|
6356
|
+
getScreenPosition(payload: PointEditorClientPosition): PointEditorScreenPosition;
|
|
6357
|
+
/**
|
|
6358
|
+
* 取消正在等待网页点击的放置操作并恢复输入;不撤销已经发送到 UE 的创建请求。
|
|
6359
|
+
* @returns 取消完成;原 addPoint Promise 将以取消错误拒绝。
|
|
6360
|
+
* @agentSideEffects write
|
|
6361
|
+
* @agentRiskLevel low
|
|
6362
|
+
* @example
|
|
6363
|
+
* ```ts
|
|
6364
|
+
* await dtcEngine.PointEditor.cancelPlacement();
|
|
6365
|
+
* ```
|
|
6366
|
+
*/
|
|
6367
|
+
cancelPlacement(): Promise<void>;
|
|
6368
|
+
/**
|
|
6369
|
+
* 局部更新 MODEL 及附属 POI;不传的字段保持原值,false、0 和空名称有效。
|
|
6370
|
+
* @param payload - 点位定位条件及需要修改的属性;extraProps 整体替换。
|
|
6371
|
+
* @param callback - 可选响应回调。
|
|
6372
|
+
* @returns 通用响应信封。
|
|
6373
|
+
* @agentSideEffects write
|
|
6374
|
+
* @agentPreconditions 目标是既有场景加载或 API 创建的 MODEL;PointTool 本地工作台对象除外
|
|
6375
|
+
* @agentRiskLevel medium
|
|
6376
|
+
* @agentExample { parentId: 'sdk3-point-editor-test', id: 'G-test-1', type: 'MODEL', show: false }
|
|
6377
|
+
* @example
|
|
6378
|
+
* ```ts
|
|
6379
|
+
* await dtcEngine.PointEditor.updatePoint({
|
|
6380
|
+
* parentId: 'sdk3-point-editor-test', id: 'G-test-1', type: 'MODEL',
|
|
6381
|
+
* name: '摄像机', poiOffsetY: 0, poiEnabled: false
|
|
6382
|
+
* });
|
|
6383
|
+
* ```
|
|
6384
|
+
*/
|
|
6385
|
+
updatePoint(payload: PointEditorUpdateRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
6386
|
+
/**
|
|
6387
|
+
* 批量删除网页模型点位及附属 POI;混入其他来源或纯 POI 目标时整批拒绝。
|
|
6388
|
+
* @param payload - 分组与点位全局 ID。
|
|
6389
|
+
* @param callback - 可选响应回调;params 中含 deletedIds 和 failedIds。
|
|
6390
|
+
* @returns 通用响应信封,保留部分删除结果。
|
|
6391
|
+
* @agentSideEffects write
|
|
6392
|
+
* @agentPreconditions 目标属于场景 MODEL 点位管理范围,按 parentId/id 准确定位
|
|
6393
|
+
* @agentRiskLevel high
|
|
6394
|
+
* @agentExample { parentId: 'sdk3-point-editor-test', ids: ['G-test-1'] }
|
|
6395
|
+
* @example
|
|
6396
|
+
* ```ts
|
|
6397
|
+
* await dtcEngine.PointEditor.deletePoints({ parentId: 'sdk3-point-editor-test', ids: ['G-test-1'] });
|
|
6398
|
+
* ```
|
|
6399
|
+
*/
|
|
6400
|
+
deletePoints(payload: PointEditorDeleteRequest, callback?: ApiCallback<ApiResponseEnvelope<PointEditorDeleteResult>>): Promise<ApiResponseEnvelope<PointEditorDeleteResult>>;
|
|
6401
|
+
private readonly createPoint;
|
|
6402
|
+
}
|
|
6403
|
+
//#endregion
|
|
6404
|
+
//#region src/api/GizmosTool.d.ts
|
|
6405
|
+
/** @internal */
|
|
6406
|
+
interface GizmosToolRuntimeOptions extends BaseApiRuntimeOptions {
|
|
6407
|
+
/** 编辑期间启用官方鼠标转发,返回仅调用一次的恢复函数。 */
|
|
6408
|
+
beginMouseInput?: () => () => void;
|
|
6409
|
+
}
|
|
6410
|
+
/**
|
|
6411
|
+
* 网页 MODEL 运行时编辑,不开启本地工作台,不保存 PointTool 文件。
|
|
6412
|
+
* @agentTitle 模型交互编辑
|
|
6413
|
+
* @agentCapabilities 开启模型编辑, 切换编辑目标, 退出模型编辑
|
|
6414
|
+
* @hideconstructor
|
|
6415
|
+
*/
|
|
6416
|
+
declare class GizmosTool extends BaseApi {
|
|
6417
|
+
private readonly options?;
|
|
6418
|
+
private restoreInput?;
|
|
6419
|
+
private sequence;
|
|
6420
|
+
private sessionVersion;
|
|
6421
|
+
constructor(bridge: ApiBridge, options?: GizmosToolRuntimeOptions | undefined);
|
|
6422
|
+
/**
|
|
6423
|
+
* 开启或切换模型编辑目标,同时显示平移、旋转和缩放手柄,无需指定编辑模式。
|
|
6424
|
+
* 拖动过程中 UE 持续推送 ModelUpdate,SDK 不做时间防抖;业务端自行防抖保存。
|
|
6425
|
+
* 取消拖动时会回传恢复后的变换,不能把任意一次事件视为后端已保存。
|
|
6426
|
+
* @param payload - 网页 MODEL 的分组和点位标识。
|
|
6427
|
+
* @param callback - 可选结果回调。
|
|
6428
|
+
* @returns 开启结果,不代表后端已保存。
|
|
6429
|
+
* @agentSideEffects write
|
|
6430
|
+
* @agentPreconditions WebRTC 已连接;PointTool 本地工作台未占用输入
|
|
6431
|
+
* @agentRiskLevel medium
|
|
6432
|
+
* @agentExample { parentId: 'sdk3-point-editor-test', id: 'G-test-1' }
|
|
6433
|
+
* @example
|
|
6434
|
+
* ```ts
|
|
6435
|
+
* await dtcEngine.GizmosTool.startSimpleGizmoMode({ parentId: point.parentId, id: point.id });
|
|
6436
|
+
* ```
|
|
6437
|
+
*/
|
|
6438
|
+
startSimpleGizmoMode(payload: GizmosStartSimpleRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
6439
|
+
/**
|
|
6440
|
+
* 退出简易编辑并恢复进入前的鼠标转发配置,不保存本地点位文件。
|
|
6441
|
+
* @param callback - 可选结果回调。
|
|
6442
|
+
* @returns 退出结果。
|
|
6443
|
+
* @agentSideEffects write
|
|
6444
|
+
* @agentRiskLevel low
|
|
6445
|
+
* @example
|
|
6446
|
+
* ```ts
|
|
6447
|
+
* await dtcEngine.GizmosTool.endSimpleGizmoMode();
|
|
6448
|
+
* ```
|
|
6449
|
+
*/
|
|
6450
|
+
endSimpleGizmoMode(callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
6451
|
+
/** @internal UE 因目标删除、Escape 等原因退出,恢复本地鼠标配置。 */
|
|
6452
|
+
readonly finishFromEngine: () => void;
|
|
6453
|
+
/** @internal 断连/重启时使旧队列失效,不让旧开启响应重新占用输入。 */
|
|
6454
|
+
readonly resetRuntime: () => void;
|
|
6455
|
+
/** 开启/退出串行执行,避免快速切换导致响应和本地输入状态乱序。 */
|
|
6456
|
+
private readonly enqueue;
|
|
6457
|
+
}
|
|
6458
|
+
//#endregion
|
|
6125
6459
|
//#region src/api/apiRegistry.d.ts
|
|
6126
6460
|
/**
|
|
6127
6461
|
* API 装配上下文,统一承载模块工厂需要的依赖。
|
|
@@ -6133,6 +6467,10 @@ interface ApiRegistryContext {
|
|
|
6133
6467
|
createLogger: (moduleName: ApiModuleKey) => ModuleLogger;
|
|
6134
6468
|
/** 前端 Popup 管理器。 */
|
|
6135
6469
|
popupManager: PopupManager;
|
|
6470
|
+
/** 当前实例的视频宿主,用于网页点位落点换算。 */
|
|
6471
|
+
videoElementParent?: HTMLElement;
|
|
6472
|
+
/** 临时启用官方鼠标输入,退出时恢复原配置。 */
|
|
6473
|
+
beginPointEditorMouseInput?: () => () => void;
|
|
6136
6474
|
}
|
|
6137
6475
|
/**
|
|
6138
6476
|
* 对外 API 门面与实例类型映射。
|
|
@@ -6152,6 +6490,10 @@ interface ApiInstanceMap {
|
|
|
6152
6490
|
Navigation: Navigation;
|
|
6153
6491
|
PathPatrol: PathPatrol;
|
|
6154
6492
|
pointIcon: PointIcon;
|
|
6493
|
+
/** 网页 MODEL 点位编辑(不支持独立 POI)。 */
|
|
6494
|
+
PointEditor: PointEditor;
|
|
6495
|
+
/** 网页 MODEL 的运行时 Gizmo。 */
|
|
6496
|
+
GizmosTool: GizmosTool;
|
|
6155
6497
|
HeatMap: HeatMap;
|
|
6156
6498
|
HighlighterEffect: HighLighterEffect;
|
|
6157
6499
|
Popup: Popup;
|
|
@@ -6809,6 +7151,8 @@ declare class DTCEngine {
|
|
|
6809
7151
|
readonly SceneConfig: "SceneConfig";
|
|
6810
7152
|
/** 模型点击事件 */
|
|
6811
7153
|
readonly ModelClick: "ModelClick";
|
|
7154
|
+
/** MODEL 拖动时持续推送变换;param 含 position/eulerAngles/scale,业务端自行防抖保存,取消时回传恢复值。 */
|
|
7155
|
+
readonly ModelUpdate: "ModelUpdate";
|
|
6812
7156
|
/** 相机高度 */
|
|
6813
7157
|
readonly CameraHeight: "CameraHeight";
|
|
6814
7158
|
/** 左键单击事件 */
|
|
@@ -6857,6 +7201,7 @@ declare class DTCEngine {
|
|
|
6857
7201
|
readonly UltraPerformance: 7;
|
|
6858
7202
|
};
|
|
6859
7203
|
FilterMode: typeof FilterMode;
|
|
7204
|
+
GizmoType: typeof GizmoType;
|
|
6860
7205
|
LayerEnum: typeof LayerEnum;
|
|
6861
7206
|
ModelTransformType: typeof ModelTransformType;
|
|
6862
7207
|
ScreenRenderBitratePreset: {
|
|
@@ -6903,6 +7248,10 @@ declare class DTCEngine {
|
|
|
6903
7248
|
readonly PathPatrol: ApiInstanceMap['PathPatrol'];
|
|
6904
7249
|
/** 设备点位图标显隐控制模块。 */
|
|
6905
7250
|
readonly pointIcon: ApiInstanceMap['pointIcon'];
|
|
7251
|
+
/** 网页 MODEL 点位编辑,不接管 PointTool 本地点位。 */
|
|
7252
|
+
readonly PointEditor: ApiInstanceMap['PointEditor'];
|
|
7253
|
+
/** 网页模型交互编辑。 */
|
|
7254
|
+
readonly GizmosTool: ApiInstanceMap['GizmosTool'];
|
|
6906
7255
|
/** 高亮效果模块。 */
|
|
6907
7256
|
readonly HighlighterEffect: ApiInstanceMap['HighlighterEffect'];
|
|
6908
7257
|
/** 前端 Popup 模块。 */
|
|
@@ -7120,4 +7469,4 @@ declare class SDKValidationError extends Error {
|
|
|
7120
7469
|
toJSON(): Record<string, unknown>;
|
|
7121
7470
|
}
|
|
7122
7471
|
//#endregion
|
|
7123
|
-
export { AGENT_BRIDGE_API_METADATA, type AGENT_BRIDGE_PROTOCOL_VERSION, API_MODULE_KEYS, type AgentBridgeActiveStream, type AgentBridgeBusinessProgramManifest, type AgentBridgeBusinessProgramPermissionMode, type AgentBridgeCancelProgramRequest, type AgentBridgeCancelProgramRequestPayload, type AgentBridgeCatalogRequestPayload, type AgentBridgeErrorCode, type AgentBridgeExposeConfig, type AgentBridgeHeartbeatPayload, type AgentBridgeInboundMessage, type AgentBridgeInvokeRequest, type AgentBridgeInvokeRequestPayload, type AgentBridgeLoadProgramRequest, type AgentBridgeLoadProgramRequestPayload, type AgentBridgeMessageEnvelope, type AgentBridgeMessageType, type AgentBridgeMethodCatalogItem, type AgentBridgeMethodResponseMode, type AgentBridgeMethodSchemaMetadata, type AgentBridgeMethodSideEffect, type AgentBridgeModuleCatalogItem, type AgentBridgeOperationResult, type AgentBridgeOutboundMessage, type AgentBridgeProgramEventPayload, type AgentBridgeReconnectOptions, type AgentBridgeRegisterPayload, type AgentBridgeResultPayload, type AgentBridgeRuntimeAdapter, type AgentBridgeRuntimeEngineSnapshot, type AgentBridgeRuntimeFactoryOptions, type AgentBridgeRuntimeSnapshot, type AgentBridgeSchemaEnumOption, type AgentBridgeSchemaField, type AgentBridgeSchemaFieldType, type AgentBridgeSchemaRequestPayload, type AgentBridgeSocket, type AgentBridgeSocketFactory, type AgentBridgeStartProgramRequest, type AgentBridgeStartProgramRequestPayload, type AgentBridgeStreamCloseRequest, type AgentBridgeStreamCloseRequestPayload, type AgentBridgeStreamCloseResult, type AgentBridgeStreamEventListener, type AgentBridgeStreamEventPayload, type AgentBridgeStreamStartRequest, type AgentBridgeStreamStartRequestPayload, type AgentBridgeStreamStartResult, type AgentBridgeStreamTerminalReason, type AgentBridgeStructuredError, type AgentBridgeUnregisterPayload, type AgentBridgeValidateAction, type AgentBridgeValidateActionItem, type AgentBridgeValidateActionsRequest, type AgentBridgeValidateActionsRequestPayload, type AgentBridgeValidateActionsResult, AgentRuntimeBridge, type AgentRuntimeBridgeDependencies, Animation, type AnimationGetLengthRequest, type AnimationPlayRequest, type AnimationSetSpeedRequest, type AnimationStartLoopRequest, type AnimationStopLoopRequest, type AnimationStopRequest, type ApiCallback, type ApiFacade, type ApiInstanceMap, type ApiModuleFactory, type ApiModuleKey, type ApiRegistry, type ApiRegistryContext, ApiRegistryError, type ApiRequestEnvelope, type ApiResponseEnvelope, type AuthErrorInfo, type AuthSessionSnapshot, type AuthWorkflowState, BuildingFloor, type BuildingFloorCancelOptions, type BuildingFloorDependencies, BuildingFloorError, type BuildingFloorErrorCode, type BuildingFloorFocusMode, type BuildingFloorInput, type BuildingFloorItem, type BuildingFloorOverview, type BuildingFloorOverviewOptions, type BuildingFloorRegistration, type BuildingFloorRegistrationResult, type BuildingFloorRuntimeOptions, type BuildingFloorRuntimeStatus, type BuildingFloorState, type BuildingFloorStateOptions, type BuildingFloorSwitchOptions, type BuildingFloorTransitionResult, type BuildingFloorTransitionStatus, type BuildingFloorViewPoint, Camera, type CameraFlyByPathRequest, type CameraFlyToTargetRequest, type CameraLookAtRequest, type CameraObjFollowRequest, type CameraSetFlySpeedRequest, type CameraSetFovRequest, type CameraSetPositionAndRotationRequest, type CenterConnectResult, type CenterEnvelope, type CenterServiceInfo, type CenterTokenAuthorizeResult, Connect, DTCEngine, type DTCEngineAgentBridgeOptions, Dlss, DlssQuality, type DlssSetEnableRequest, type DlssSetQualityRequest, type EngineConfig, type EngineLogLevel, type EngineStatusInfo, type EngineViewMode, type FeatureToggleRequest, FilterMode, type GetWeatherTypeRequest, HeatMap, type HeatMapConfigRequest, type HeatMapCreateRequest, type HeatMapPointRequest, type HeatMapRemoveRequest, HighLighterEffect, type HighLighterEnableRequest, type HighLighterRemoveHighLightModelRequest, type HighLighterSetHighLightModelRequest, Layer, type LayerAddRequest, type LayerChildElementRequest, LayerEnum, type LayerModelAddRequest, type LayerModelRemoveRequest, type LayerPOIAddRequest, type LayerResetPOINameRequest, type LayerSelectorRequest, type LayerShowUIPopRequest, type LayerSwitchModelRequest, type LayerUpdatePOINameRequest, Model, type ModelAddRequest, type ModelBoundsRequest, ModelPOI, type ModelPOIAddRequest, type ModelPOIDeleteByGroupRequest, type ModelPOIDeleteByIdRequest, type ModelPOIGetInfoRequest, type ModelPOIUpdateRequest, type ModelPOIVisibleByGroupRequest, type ModelRemoveRequest, type ModelSelectorRequest, type ModelSetVisibleByAttributeRequest, type ModelSetVisibleByTagsRequest, type ModelSetVisibleRequest, ModelTransform, type ModelTransformNodeRequest, type ModelTransformRestoreRequest, type ModelTransformRotateByTargetRequest, type ModelTransformRotateRequest, type ModelTransformScaleRequest, type ModelTransformStartMoveRequest, ModelTransformType, Navigation, type NavigationMeshNavRequest, type NavigationNavByPathRequest, type NavigationNodeRequest, type NavigationUpdateMeshNavRequest, type NavigationUpdateNavPathRequest, type NavigationUpdateSpeedRequest, type NetworkAdaptationActionResult, type NetworkAdaptationActionStep, type NetworkAdaptationActionType, type NetworkAdaptationLevel, type NetworkAdaptationMode, type NetworkAdaptationState, type NetworkDecisionTrace, type NetworkDiagnosticsSnapshot, type NetworkMetricsSnapshot, PathPatrol, type PathPatrolAddRequest, type PathPatrolNodeRequest, type PathPatrolSetTimeNodeRequest, type PathPatrolUpdateRequest, PendingValidationSchemaMap, PointIcon, type PointIconIdsInput, type PointIconIdsRequest, type PointIconVisibilityResult, Popup, type PopupAddRequest, type PopupDelayRequest, type PopupItemRequest, type PopupRemoveRequest, type PopupShowDistanceRequest, type PopupShowRequest, type PopupSyncInfoRequest, type QOS_EVENT_NAMES, type QosEvent, type QosEventName, type QosLevel, type QosReportingPayload, type QosRuntimeContext, type QosSessionContext, type QosStage, type QosStatus, type QosWarnErrorSummary, type ResolvedEngineConfig, SDKValidationError, Scene, type SceneListenCompassRequest, type SceneSwitchRequest, Screen, ScreenRenderBitratePreset, ScreenRenderBitratePresetOptions, type ScreenRenderBitratePresetValueMap, type ScreenSetSceneFPSRequest, type ScreenSetSceneRenderBitrateRequest, type ScreenSetScreenResolutionRequest, type ScreenSetVideoDecodeRequest, Season, type SignallingAllocateResponse, SpatialQuery, type SpatialQueryLayerByModelBoxRequest, type SpatialQueryLayerByModelRequest, type SpatialQueryLayerByPositionRequest, type StandardResponse, TimeLine, type TimeSerialNode, type TimelineNodeRequest, type TimelinePlayRequest, type TimelineSetSpeedRequest, type TimelineStopRequest, TrainBehavior, TrainSimulate, type TrainSimulateSetCameraFollowTrainRequest, type TrainSimulateSetTrainBehaviorRequest, type TrainSimulateSetTrainVolumeRequest, type TrainSimulateStartTrainRequest, UIPOI, type UIPOIAddRequest, type UIPOIDeleteByGroupRequest, type UIPOIDeleteByIdRequest, type UIPOIEnableOverlapRequest, type UIPOIShowDistanceRequest, type UIPOIUpdateRequest, type UIPOIUpdateStateRequest, type Vector2Input, type Vector2JsonInput, type Vector3Input, type Vector3JsonInput, VideoCodeType, type WeatherChangeSeasonRequest, type WeatherOpenCameraFogRequest, type WeatherSetAnimateTimeOfDayRequest, type WeatherSetDayAndNightRequest, type WeatherSetSceneTimeRequest, type WeatherSetTimeSyncRequest, WeatherSystem, type WeatherTypeRequest, WebView, type WebViewUpdateRequest, apiRegistry, createAgentBridgeMetadata, createApiFacade, createBridgeRuntime, getAgentBridgeMethodSchema, isAgentBridgeMethodExposed, isAgentBridgeModuleExposed, isAgentBridgeModuleName, listAgentBridgeMethods, listAgentBridgeModules, resolveAgentBridgeExposeConfig };
|
|
7472
|
+
export { AGENT_BRIDGE_API_METADATA, type AGENT_BRIDGE_PROTOCOL_VERSION, API_MODULE_KEYS, type AgentBridgeActiveStream, type AgentBridgeBusinessProgramManifest, type AgentBridgeBusinessProgramPermissionMode, type AgentBridgeCancelProgramRequest, type AgentBridgeCancelProgramRequestPayload, type AgentBridgeCatalogRequestPayload, type AgentBridgeErrorCode, type AgentBridgeExposeConfig, type AgentBridgeHeartbeatPayload, type AgentBridgeInboundMessage, type AgentBridgeInvokeRequest, type AgentBridgeInvokeRequestPayload, type AgentBridgeLoadProgramRequest, type AgentBridgeLoadProgramRequestPayload, type AgentBridgeMessageEnvelope, type AgentBridgeMessageType, type AgentBridgeMethodCatalogItem, type AgentBridgeMethodResponseMode, type AgentBridgeMethodSchemaMetadata, type AgentBridgeMethodSideEffect, type AgentBridgeModuleCatalogItem, type AgentBridgeOperationResult, type AgentBridgeOutboundMessage, type AgentBridgeProgramEventPayload, type AgentBridgeReconnectOptions, type AgentBridgeRegisterPayload, type AgentBridgeResultPayload, type AgentBridgeRuntimeAdapter, type AgentBridgeRuntimeEngineSnapshot, type AgentBridgeRuntimeFactoryOptions, type AgentBridgeRuntimeSnapshot, type AgentBridgeSchemaEnumOption, type AgentBridgeSchemaField, type AgentBridgeSchemaFieldType, type AgentBridgeSchemaRequestPayload, type AgentBridgeSocket, type AgentBridgeSocketFactory, type AgentBridgeStartProgramRequest, type AgentBridgeStartProgramRequestPayload, type AgentBridgeStreamCloseRequest, type AgentBridgeStreamCloseRequestPayload, type AgentBridgeStreamCloseResult, type AgentBridgeStreamEventListener, type AgentBridgeStreamEventPayload, type AgentBridgeStreamStartRequest, type AgentBridgeStreamStartRequestPayload, type AgentBridgeStreamStartResult, type AgentBridgeStreamTerminalReason, type AgentBridgeStructuredError, type AgentBridgeUnregisterPayload, type AgentBridgeValidateAction, type AgentBridgeValidateActionItem, type AgentBridgeValidateActionsRequest, type AgentBridgeValidateActionsRequestPayload, type AgentBridgeValidateActionsResult, AgentRuntimeBridge, type AgentRuntimeBridgeDependencies, Animation, type AnimationGetLengthRequest, type AnimationPlayRequest, type AnimationSetSpeedRequest, type AnimationStartLoopRequest, type AnimationStopLoopRequest, type AnimationStopRequest, type ApiCallback, type ApiFacade, type ApiInstanceMap, type ApiModuleFactory, type ApiModuleKey, type ApiRegistry, type ApiRegistryContext, ApiRegistryError, type ApiRequestEnvelope, type ApiResponseEnvelope, type AuthErrorInfo, type AuthSessionSnapshot, type AuthWorkflowState, BuildingFloor, type BuildingFloorCancelOptions, type BuildingFloorDependencies, BuildingFloorError, type BuildingFloorErrorCode, type BuildingFloorFocusMode, type BuildingFloorInput, type BuildingFloorItem, type BuildingFloorOverview, type BuildingFloorOverviewOptions, type BuildingFloorRegistration, type BuildingFloorRegistrationResult, type BuildingFloorRuntimeOptions, type BuildingFloorRuntimeStatus, type BuildingFloorState, type BuildingFloorStateOptions, type BuildingFloorSwitchOptions, type BuildingFloorTransitionResult, type BuildingFloorTransitionStatus, type BuildingFloorViewPoint, Camera, type CameraFlyByPathRequest, type CameraFlyToTargetRequest, type CameraLookAtRequest, type CameraObjFollowRequest, type CameraSetFlySpeedRequest, type CameraSetFovRequest, type CameraSetPositionAndRotationRequest, type CenterConnectResult, type CenterEnvelope, type CenterServiceInfo, type CenterTokenAuthorizeResult, Connect, DTCEngine, type DTCEngineAgentBridgeOptions, Dlss, DlssQuality, type DlssSetEnableRequest, type DlssSetQualityRequest, type EngineConfig, type EngineLogLevel, type EngineStatusInfo, type EngineViewMode, type FeatureToggleRequest, FilterMode, type GetWeatherTypeRequest, GizmoType, type GizmosStartSimpleRequest, GizmosTool, HeatMap, type HeatMapConfigRequest, type HeatMapCreateRequest, type HeatMapPointRequest, type HeatMapRemoveRequest, HighLighterEffect, type HighLighterEnableRequest, type HighLighterRemoveHighLightModelRequest, type HighLighterSetHighLightModelRequest, Layer, type LayerAddRequest, type LayerChildElementRequest, LayerEnum, type LayerModelAddRequest, type LayerModelRemoveRequest, type LayerPOIAddRequest, type LayerResetPOINameRequest, type LayerSelectorRequest, type LayerShowUIPopRequest, type LayerSwitchModelRequest, type LayerUpdatePOINameRequest, Model, type ModelAddRequest, type ModelBoundsRequest, ModelPOI, type ModelPOIAddRequest, type ModelPOIDeleteByGroupRequest, type ModelPOIDeleteByIdRequest, type ModelPOIGetInfoRequest, type ModelPOIUpdateRequest, type ModelPOIVisibleByGroupRequest, type ModelRemoveRequest, type ModelSelectorRequest, type ModelSetVisibleByAttributeRequest, type ModelSetVisibleByTagsRequest, type ModelSetVisibleRequest, ModelTransform, type ModelTransformNodeRequest, type ModelTransformRestoreRequest, type ModelTransformRotateByTargetRequest, type ModelTransformRotateRequest, type ModelTransformScaleRequest, type ModelTransformStartMoveRequest, ModelTransformType, Navigation, type NavigationMeshNavRequest, type NavigationNavByPathRequest, type NavigationNodeRequest, type NavigationUpdateMeshNavRequest, type NavigationUpdateNavPathRequest, type NavigationUpdateSpeedRequest, type NetworkAdaptationActionResult, type NetworkAdaptationActionStep, type NetworkAdaptationActionType, type NetworkAdaptationLevel, type NetworkAdaptationMode, type NetworkAdaptationState, type NetworkDecisionTrace, type NetworkDiagnosticsSnapshot, type NetworkMetricsSnapshot, PathPatrol, type PathPatrolAddRequest, type PathPatrolNodeRequest, type PathPatrolSetTimeNodeRequest, type PathPatrolUpdateRequest, PendingValidationSchemaMap, PointEditor, type PointEditorAddRequest, type PointEditorCategory, type PointEditorClientPosition, type PointEditorCreateCallback, type PointEditorDeleteRequest, type PointEditorDeleteResult, type PointEditorPoint, type PointEditorResource, type PointEditorScreenPosition, type PointEditorUpdateRequest, type PointEditorVector, PointIcon, type PointIconIdsInput, type PointIconIdsRequest, type PointIconVisibilityResult, Popup, type PopupAddRequest, type PopupDelayRequest, type PopupItemRequest, type PopupRemoveRequest, type PopupShowDistanceRequest, type PopupShowRequest, type PopupSyncInfoRequest, type QOS_EVENT_NAMES, type QosEvent, type QosEventName, type QosLevel, type QosReportingPayload, type QosRuntimeContext, type QosSessionContext, type QosStage, type QosStatus, type QosWarnErrorSummary, type ResolvedEngineConfig, SDKValidationError, Scene, type SceneListenCompassRequest, type SceneSwitchRequest, Screen, ScreenRenderBitratePreset, ScreenRenderBitratePresetOptions, type ScreenRenderBitratePresetValueMap, type ScreenSetSceneFPSRequest, type ScreenSetSceneRenderBitrateRequest, type ScreenSetScreenResolutionRequest, type ScreenSetVideoDecodeRequest, Season, type SignallingAllocateResponse, SpatialQuery, type SpatialQueryLayerByModelBoxRequest, type SpatialQueryLayerByModelRequest, type SpatialQueryLayerByPositionRequest, type StandardResponse, TimeLine, type TimeSerialNode, type TimelineNodeRequest, type TimelinePlayRequest, type TimelineSetSpeedRequest, type TimelineStopRequest, TrainBehavior, TrainSimulate, type TrainSimulateSetCameraFollowTrainRequest, type TrainSimulateSetTrainBehaviorRequest, type TrainSimulateSetTrainVolumeRequest, type TrainSimulateStartTrainRequest, UIPOI, type UIPOIAddRequest, type UIPOIDeleteByGroupRequest, type UIPOIDeleteByIdRequest, type UIPOIEnableOverlapRequest, type UIPOIShowDistanceRequest, type UIPOIUpdateRequest, type UIPOIUpdateStateRequest, type Vector2Input, type Vector2JsonInput, type Vector3Input, type Vector3JsonInput, VideoCodeType, type WeatherChangeSeasonRequest, type WeatherOpenCameraFogRequest, type WeatherSetAnimateTimeOfDayRequest, type WeatherSetDayAndNightRequest, type WeatherSetSceneTimeRequest, type WeatherSetTimeSyncRequest, type WeatherSetVolumeRequest, WeatherSystem, type WeatherTypeRequest, WebView, type WebViewUpdateRequest, apiRegistry, createAgentBridgeMetadata, createApiFacade, createBridgeRuntime, getAgentBridgeMethodSchema, isAgentBridgeMethodExposed, isAgentBridgeModuleExposed, isAgentBridgeModuleName, listAgentBridgeMethods, listAgentBridgeModules, resolveAgentBridgeExposeConfig };
|