@nnepoch/dtc-sdk 3.0.6 → 3.0.8
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.8.js +2 -0
- package/dist/cjs/index.cjs +4 -4
- package/dist/cjs/index.d.cts +231 -1
- package/dist/esm/index.d.ts +231 -1
- package/dist/esm/index.js +4 -4
- package/package.json +1 -1
- package/dist/browser/dtc-sdk-3.0.6.js +0 -2
package/dist/cjs/index.d.cts
CHANGED
|
@@ -987,6 +987,17 @@ declare enum FilterMode {
|
|
|
987
987
|
/** 严格过滤:属性匹配的对象按 visible 控制,其它包含相同属性名但属性值不同的对象按 otherVisible 控制。 */
|
|
988
988
|
Strict = 1
|
|
989
989
|
}
|
|
990
|
+
/**
|
|
991
|
+
* TrainSimulate 列车运动方式。
|
|
992
|
+
*/
|
|
993
|
+
declare enum TrainBehavior {
|
|
994
|
+
/** 到达终点后停止。 */
|
|
995
|
+
StopAtTheEnd = "StopAtTheEnd",
|
|
996
|
+
/** 循环播放。 */
|
|
997
|
+
Loop = "Loop",
|
|
998
|
+
/** 反复播放(来回移动)。 */
|
|
999
|
+
BackAndForward = "BackAndForward"
|
|
1000
|
+
}
|
|
990
1001
|
//#endregion
|
|
991
1002
|
//#region src/types/request.d.ts
|
|
992
1003
|
interface Vector3JsonInput {
|
|
@@ -2070,6 +2081,7 @@ interface NavigationMeshNavRequest {
|
|
|
2070
2081
|
nodes?: Vector3Input[];
|
|
2071
2082
|
/** 路径节点经过的目标对象名称数组集合,与 `nodes` 二选一;需保证场景中各编号对象唯一存在。 */
|
|
2072
2083
|
targetIds?: string[];
|
|
2084
|
+
targetCodes?: string[];
|
|
2073
2085
|
/** 物体移动的速度,默认 1。 */
|
|
2074
2086
|
speed?: number;
|
|
2075
2087
|
/** 是否作为导航缓存路径点,默认 `true`;`true` 表示将节点加入缓存路径,下次修改时前置节点仍会经过,`false` 表示按新路径导航。 */
|
|
@@ -2199,6 +2211,62 @@ interface SpatialQueryLayerByModelBoxRequest {
|
|
|
2199
2211
|
/** 查询的图层组编号集合,至少一个。 */
|
|
2200
2212
|
queryParentIds: string[];
|
|
2201
2213
|
}
|
|
2214
|
+
/**
|
|
2215
|
+
* TrainSimulate.startTrain 参数。
|
|
2216
|
+
*/
|
|
2217
|
+
interface TrainSimulateStartTrainRequest {
|
|
2218
|
+
/** 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。 */
|
|
2219
|
+
parentId?: string;
|
|
2220
|
+
/** 区块编号,唯一编号,必填。 */
|
|
2221
|
+
id: string;
|
|
2222
|
+
/** 列车班次编号。 */
|
|
2223
|
+
trainCode?: string;
|
|
2224
|
+
/** 起始站名称。 */
|
|
2225
|
+
startStationName?: string;
|
|
2226
|
+
/** 终点站名称。 */
|
|
2227
|
+
endStationName?: string;
|
|
2228
|
+
/** 列车方向:0 从东到西,1 从西到东。默认 '0'。 */
|
|
2229
|
+
direction?: string;
|
|
2230
|
+
/** 列车动作:1 进站,0 出站。默认 '1'。 */
|
|
2231
|
+
action?: string;
|
|
2232
|
+
/** 停车时间,单位秒,默认 180。 */
|
|
2233
|
+
stopTime?: number;
|
|
2234
|
+
/** 列车运动方式:StopAtTheEnd 到达终点后停止、Loop 循环播放、BackAndForward 反复播放。默认 StopAtTheEnd。 */
|
|
2235
|
+
moveType?: TrainBehavior;
|
|
2236
|
+
}
|
|
2237
|
+
/**
|
|
2238
|
+
* TrainSimulate.setTrainBehavior 参数。
|
|
2239
|
+
*/
|
|
2240
|
+
interface TrainSimulateSetTrainBehaviorRequest {
|
|
2241
|
+
/** 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。 */
|
|
2242
|
+
parentId?: string;
|
|
2243
|
+
/** 唯一编号,必填。 */
|
|
2244
|
+
id: string;
|
|
2245
|
+
/** 列车运动方式:StopAtTheEnd 到达终点后停止、Loop 循环播放、BackAndForward 反复播放。默认 StopAtTheEnd。 */
|
|
2246
|
+
moveType?: TrainBehavior;
|
|
2247
|
+
}
|
|
2248
|
+
/**
|
|
2249
|
+
* TrainSimulate.setCameraFollowTrain 参数。
|
|
2250
|
+
*/
|
|
2251
|
+
interface TrainSimulateSetCameraFollowTrainRequest {
|
|
2252
|
+
/** 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。 */
|
|
2253
|
+
parentId?: string;
|
|
2254
|
+
/** 唯一编号,必填。 */
|
|
2255
|
+
id: string;
|
|
2256
|
+
/** 相机相对列车的偏移量,默认 (26, 18, 15),坐标类型固定为 '0000'。 */
|
|
2257
|
+
offSet?: Vector3Input;
|
|
2258
|
+
}
|
|
2259
|
+
/**
|
|
2260
|
+
* TrainSimulate.setTrainVolume 参数。
|
|
2261
|
+
*/
|
|
2262
|
+
interface TrainSimulateSetTrainVolumeRequest {
|
|
2263
|
+
/** 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。 */
|
|
2264
|
+
parentId?: string;
|
|
2265
|
+
/** 唯一编号,必填。 */
|
|
2266
|
+
id: string;
|
|
2267
|
+
/** 音量大小,取值 0-1,默认 0.5。 */
|
|
2268
|
+
volume?: number;
|
|
2269
|
+
}
|
|
2202
2270
|
//#endregion
|
|
2203
2271
|
//#region src/types/buildingFloor.d.ts
|
|
2204
2272
|
/** 建筑楼层固定视角。 */
|
|
@@ -4328,6 +4396,8 @@ declare class Navigation extends BaseApi {
|
|
|
4328
4396
|
* @agentExample { parentId: 'Players', id: 'Player1', nodes: [{ x: 114.7985155712282, y: 34.842421780635625, z: 2 }, { x: 114.79789723105696, y: 34.84218433379876, z: 1.5 }], isCache: false, planColor: '#00ff00', passColor: '#e1e1e1' }
|
|
4329
4397
|
* @example
|
|
4330
4398
|
* ```ts
|
|
4399
|
+
*
|
|
4400
|
+
* 示例1:模型对象根据路过的节点进行导航
|
|
4331
4401
|
dtcEngine.Navigation.startNav({
|
|
4332
4402
|
parentId: 'Players',
|
|
4333
4403
|
id: 'Player1',
|
|
@@ -4344,6 +4414,52 @@ declare class Navigation extends BaseApi {
|
|
|
4344
4414
|
passColor: '#e1e1e1',
|
|
4345
4415
|
offSetZ: 0.5,
|
|
4346
4416
|
}, (result) => { console.log(result); });
|
|
4417
|
+
* 示例2:模型对象根据目标编码进行导航
|
|
4418
|
+
dtcEngine.Navigation.startNav({
|
|
4419
|
+
parentId: 'Players',
|
|
4420
|
+
id: 'Player1',
|
|
4421
|
+
targetCodes: ['1d370e56f4684f07963fed87e91e2164','070b49c4a6c24e0bae3aa8dcd4563556','d7d92d67093f47b881d11e3b59107d0f', 'd5eab05cbf8543aaacd218db300c61cd','a2e0eb51ee8f438088a48a392ffe02d3', '2459436d256847db9084e04e5ef9115c','5317033054e44835a14a6b7a9f5eed74'],
|
|
4422
|
+
isCache: false,
|
|
4423
|
+
planColor: '#00ff00',
|
|
4424
|
+
passColor: '#e1e1e1',
|
|
4425
|
+
offSetZ: 0.5,
|
|
4426
|
+
}, (result) => { console.log(result); });
|
|
4427
|
+
|
|
4428
|
+
** 示例3:模型对象根据目标坐标进行导航
|
|
4429
|
+
dtcEngine.Navigation.startNav({
|
|
4430
|
+
parentId: 'patrolLayer',
|
|
4431
|
+
id: 'TestNav',
|
|
4432
|
+
targetIds: [
|
|
4433
|
+
"14b5770c062c47e1b359c09026221adc",
|
|
4434
|
+
"56ce729e6ab74858a830b85b638fbe32",
|
|
4435
|
+
"738f6f36bf704969955872c63fab0bd1",
|
|
4436
|
+
"534500c3a1c84defab8a9a3d0c0e60a0",
|
|
4437
|
+
"74b694f0216d4aaf9b059bba22228c21",
|
|
4438
|
+
"2a025d1b1d6641a2b2a2e76f82abbb8c",
|
|
4439
|
+
"bc60c0fd9e6247989e2fda0e57756188",
|
|
4440
|
+
"42dd7766abc94cce97cb36244c348937",
|
|
4441
|
+
"ad594980d6d54752baf63b2f26a29493",
|
|
4442
|
+
],
|
|
4443
|
+
isCache: false,
|
|
4444
|
+
planColor: '#ff820b',
|
|
4445
|
+
passColor: '#e1e1e1',
|
|
4446
|
+
speed: 3,
|
|
4447
|
+
offSetZ: 0.5,
|
|
4448
|
+
isAutoClear: false,//是否自动清除,默认 `true`。
|
|
4449
|
+
scale: new dtcEngine.Type.Vector3(3, 3, 3),
|
|
4450
|
+
}, (result) => {
|
|
4451
|
+
console.log(result);
|
|
4452
|
+
let param = JSON.parse(result.param);
|
|
4453
|
+
if (param.status == 'start') {
|
|
4454
|
+
// dtcEngine.Camera.startCameraObjFollow({
|
|
4455
|
+
// parentId: "patrolLayer",
|
|
4456
|
+
// id: 'TestNav',
|
|
4457
|
+
// offSet: new dtcEngine.Type.Vector3(-10, 0, 3),
|
|
4458
|
+
// });
|
|
4459
|
+
} else if (param.status == 'finished') {
|
|
4460
|
+
dtcEngine.Camera.endCameraObjFollow();
|
|
4461
|
+
}
|
|
4462
|
+
});
|
|
4347
4463
|
* ```
|
|
4348
4464
|
*/
|
|
4349
4465
|
startNav(payload: NavigationMeshNavRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
@@ -5686,6 +5802,118 @@ declare class SpatialQuery extends BaseApi {
|
|
|
5686
5802
|
layerQueryByModelBox(payload: SpatialQueryLayerByModelBoxRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5687
5803
|
}
|
|
5688
5804
|
//#endregion
|
|
5805
|
+
//#region src/api/TrainSimulate.d.ts
|
|
5806
|
+
/**
|
|
5807
|
+
* 列车模拟 API,支持启动列车、设置列车运动方式与音量、相机跟随/取消跟随列车。
|
|
5808
|
+
* @agentTitle 列车模拟
|
|
5809
|
+
* @agentCapabilities 列车启动, 列车运动方式设置, 列车音量设置, 相机跟随列车, 取消相机跟随列车
|
|
5810
|
+
* @hideconstructor
|
|
5811
|
+
*/
|
|
5812
|
+
declare class TrainSimulate extends BaseApi {
|
|
5813
|
+
constructor(bridge: ApiBridge, runtimeOptions?: BaseApiRuntimeOptions);
|
|
5814
|
+
/**
|
|
5815
|
+
* 设置火车的动态并启动列车。
|
|
5816
|
+
* 默认值:`direction='0'`、`action='1'`、`stopTime=180`、`moveType=StopAtTheEnd`。
|
|
5817
|
+
* `id` 为必填的唯一编号;`parentId` 用于避免重名,可不填。
|
|
5818
|
+
* @param payload - 列车启动参数。
|
|
5819
|
+
* @param callback - 可选回调函数。
|
|
5820
|
+
* @returns Promise 形式的接口响应。
|
|
5821
|
+
* @agentSideEffects write
|
|
5822
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5823
|
+
* @agentRiskLevel low
|
|
5824
|
+
* @agentExample { parentId: 'RailTrains', id: 'DTrain1', trainCode: 'G501', startStationName: '北京', endStationName: '上海', direction: '0', action: '1', stopTime: 180, moveType: 'StopAtTheEnd' }
|
|
5825
|
+
* @example
|
|
5826
|
+
* ```ts
|
|
5827
|
+
* dtcEngine.TrainSimulate.startTrain(
|
|
5828
|
+
* {
|
|
5829
|
+
* parentId: 'RailTrains',
|
|
5830
|
+
* id: 'DTrain1',
|
|
5831
|
+
* trainCode: 'G501',
|
|
5832
|
+
* startStationName: '北京',
|
|
5833
|
+
* endStationName: '上海',
|
|
5834
|
+
* direction: '0',
|
|
5835
|
+
* action: '1',
|
|
5836
|
+
* stopTime: 180,
|
|
5837
|
+
* moveType: dtcEngine.Enums.TrainBehavior.StopAtTheEnd
|
|
5838
|
+
* },
|
|
5839
|
+
* (result) => { console.log(result); }
|
|
5840
|
+
* );
|
|
5841
|
+
* ```
|
|
5842
|
+
*/
|
|
5843
|
+
startTrain(payload: TrainSimulateStartTrainRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5844
|
+
/**
|
|
5845
|
+
* 设置火车的运动方式。
|
|
5846
|
+
* 默认值:`moveType=StopAtTheEnd`。
|
|
5847
|
+
* @param payload - 列车运动方式参数。
|
|
5848
|
+
* @param callback - 可选回调函数。
|
|
5849
|
+
* @returns Promise 形式的接口响应。
|
|
5850
|
+
* @agentSideEffects write
|
|
5851
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5852
|
+
* @agentRiskLevel low
|
|
5853
|
+
* @agentExample { parentId: 'RailTrains', id: 'DTrain1', moveType: 'Loop' }
|
|
5854
|
+
* @example
|
|
5855
|
+
* ```ts
|
|
5856
|
+
* dtcEngine.TrainSimulate.setTrainBehavior(
|
|
5857
|
+
* { parentId: 'RailTrains', id: 'DTrain1', moveType: dtcEngine.Enums.TrainBehavior.Loop },
|
|
5858
|
+
* (result) => { console.log(result); }
|
|
5859
|
+
* );
|
|
5860
|
+
* ```
|
|
5861
|
+
*/
|
|
5862
|
+
setTrainBehavior(payload: TrainSimulateSetTrainBehaviorRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5863
|
+
/**
|
|
5864
|
+
* 设置相机跟随火车。
|
|
5865
|
+
* 默认偏移量 `offSet=(26, 18, 15)`,坐标类型固定为 `'0000'`。
|
|
5866
|
+
* @param payload - 相机跟随参数。
|
|
5867
|
+
* @param callback - 可选回调函数。
|
|
5868
|
+
* @returns Promise 形式的接口响应。
|
|
5869
|
+
* @agentSideEffects write
|
|
5870
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5871
|
+
* @agentRiskLevel low
|
|
5872
|
+
* @agentExample { parentId: 'RailTrains', id: 'DTrain1', offSet: { x: 26, y: 18, z: 15, ePSGType: '0000' } }
|
|
5873
|
+
* @example
|
|
5874
|
+
* ```ts
|
|
5875
|
+
* dtcEngine.TrainSimulate.setCameraFollowTrain(
|
|
5876
|
+
* { parentId: 'RailTrains', id: 'DTrain1', offSet: new dtcEngine.Type.Vector3(26, 18, 15) },
|
|
5877
|
+
* (result) => { console.log(result); }
|
|
5878
|
+
* );
|
|
5879
|
+
* ```
|
|
5880
|
+
*/
|
|
5881
|
+
setCameraFollowTrain(payload: TrainSimulateSetCameraFollowTrainRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5882
|
+
/**
|
|
5883
|
+
* 设置火车的音量大小。
|
|
5884
|
+
* 默认值:`volume=0.5`,取值范围 0-1。
|
|
5885
|
+
* @param payload - 列车音量参数。
|
|
5886
|
+
* @param callback - 可选回调函数。
|
|
5887
|
+
* @returns Promise 形式的接口响应。
|
|
5888
|
+
* @agentSideEffects write
|
|
5889
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5890
|
+
* @agentRiskLevel low
|
|
5891
|
+
* @agentExample { parentId: 'RailTrains', id: 'DTrain1', volume: 0.5 }
|
|
5892
|
+
* @example
|
|
5893
|
+
* ```ts
|
|
5894
|
+
* dtcEngine.TrainSimulate.setTrainVolume(
|
|
5895
|
+
* { parentId: 'RailTrains', id: 'DTrain1', volume: 0.5 },
|
|
5896
|
+
* (result) => { console.log(result); }
|
|
5897
|
+
* );
|
|
5898
|
+
* ```
|
|
5899
|
+
*/
|
|
5900
|
+
setTrainVolume(payload: TrainSimulateSetTrainVolumeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5901
|
+
/**
|
|
5902
|
+
* 取消相机跟随火车,无需传参。
|
|
5903
|
+
* @param callback - 可选回调函数。
|
|
5904
|
+
* @returns Promise 形式的接口响应。
|
|
5905
|
+
* @agentSideEffects write
|
|
5906
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5907
|
+
* @agentRiskLevel low
|
|
5908
|
+
* @agentExample {}
|
|
5909
|
+
* @example
|
|
5910
|
+
* ```ts
|
|
5911
|
+
* dtcEngine.TrainSimulate.cancelCameraFollowTrain((result) => { console.log(result); });
|
|
5912
|
+
* ```
|
|
5913
|
+
*/
|
|
5914
|
+
cancelCameraFollowTrain(callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5915
|
+
}
|
|
5916
|
+
//#endregion
|
|
5689
5917
|
//#region src/api/validationSchemas.d.ts
|
|
5690
5918
|
/**
|
|
5691
5919
|
* 未覆盖模块的校验占位清单:
|
|
@@ -5830,6 +6058,7 @@ interface ApiInstanceMap {
|
|
|
5830
6058
|
WeatherSystem: WeatherSystem;
|
|
5831
6059
|
WebView: WebView;
|
|
5832
6060
|
SpatialQuery: SpatialQuery;
|
|
6061
|
+
TrainSimulate: TrainSimulate;
|
|
5833
6062
|
}
|
|
5834
6063
|
type ApiModuleKey = keyof ApiInstanceMap;
|
|
5835
6064
|
/**
|
|
@@ -6538,6 +6767,7 @@ declare class DTCEngine {
|
|
|
6538
6767
|
readonly Autumn: 2;
|
|
6539
6768
|
readonly Winter: 3;
|
|
6540
6769
|
};
|
|
6770
|
+
TrainBehavior: typeof TrainBehavior;
|
|
6541
6771
|
VideoCodeType: typeof VideoCodeType;
|
|
6542
6772
|
};
|
|
6543
6773
|
/** 连接控制模块。 */
|
|
@@ -6785,4 +7015,4 @@ declare class SDKValidationError extends Error {
|
|
|
6785
7015
|
toJSON(): Record<string, unknown>;
|
|
6786
7016
|
}
|
|
6787
7017
|
//#endregion
|
|
6788
|
-
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 LayerSelectorRequest, type LayerShowUIPopRequest, type LayerSwitchModelRequest, 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, 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 };
|
|
7018
|
+
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 LayerSelectorRequest, type LayerShowUIPopRequest, type LayerSwitchModelRequest, 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 };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -987,6 +987,17 @@ declare enum FilterMode {
|
|
|
987
987
|
/** 严格过滤:属性匹配的对象按 visible 控制,其它包含相同属性名但属性值不同的对象按 otherVisible 控制。 */
|
|
988
988
|
Strict = 1
|
|
989
989
|
}
|
|
990
|
+
/**
|
|
991
|
+
* TrainSimulate 列车运动方式。
|
|
992
|
+
*/
|
|
993
|
+
declare enum TrainBehavior {
|
|
994
|
+
/** 到达终点后停止。 */
|
|
995
|
+
StopAtTheEnd = "StopAtTheEnd",
|
|
996
|
+
/** 循环播放。 */
|
|
997
|
+
Loop = "Loop",
|
|
998
|
+
/** 反复播放(来回移动)。 */
|
|
999
|
+
BackAndForward = "BackAndForward"
|
|
1000
|
+
}
|
|
990
1001
|
//#endregion
|
|
991
1002
|
//#region src/types/request.d.ts
|
|
992
1003
|
interface Vector3JsonInput {
|
|
@@ -2070,6 +2081,7 @@ interface NavigationMeshNavRequest {
|
|
|
2070
2081
|
nodes?: Vector3Input[];
|
|
2071
2082
|
/** 路径节点经过的目标对象名称数组集合,与 `nodes` 二选一;需保证场景中各编号对象唯一存在。 */
|
|
2072
2083
|
targetIds?: string[];
|
|
2084
|
+
targetCodes?: string[];
|
|
2073
2085
|
/** 物体移动的速度,默认 1。 */
|
|
2074
2086
|
speed?: number;
|
|
2075
2087
|
/** 是否作为导航缓存路径点,默认 `true`;`true` 表示将节点加入缓存路径,下次修改时前置节点仍会经过,`false` 表示按新路径导航。 */
|
|
@@ -2199,6 +2211,62 @@ interface SpatialQueryLayerByModelBoxRequest {
|
|
|
2199
2211
|
/** 查询的图层组编号集合,至少一个。 */
|
|
2200
2212
|
queryParentIds: string[];
|
|
2201
2213
|
}
|
|
2214
|
+
/**
|
|
2215
|
+
* TrainSimulate.startTrain 参数。
|
|
2216
|
+
*/
|
|
2217
|
+
interface TrainSimulateStartTrainRequest {
|
|
2218
|
+
/** 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。 */
|
|
2219
|
+
parentId?: string;
|
|
2220
|
+
/** 区块编号,唯一编号,必填。 */
|
|
2221
|
+
id: string;
|
|
2222
|
+
/** 列车班次编号。 */
|
|
2223
|
+
trainCode?: string;
|
|
2224
|
+
/** 起始站名称。 */
|
|
2225
|
+
startStationName?: string;
|
|
2226
|
+
/** 终点站名称。 */
|
|
2227
|
+
endStationName?: string;
|
|
2228
|
+
/** 列车方向:0 从东到西,1 从西到东。默认 '0'。 */
|
|
2229
|
+
direction?: string;
|
|
2230
|
+
/** 列车动作:1 进站,0 出站。默认 '1'。 */
|
|
2231
|
+
action?: string;
|
|
2232
|
+
/** 停车时间,单位秒,默认 180。 */
|
|
2233
|
+
stopTime?: number;
|
|
2234
|
+
/** 列车运动方式:StopAtTheEnd 到达终点后停止、Loop 循环播放、BackAndForward 反复播放。默认 StopAtTheEnd。 */
|
|
2235
|
+
moveType?: TrainBehavior;
|
|
2236
|
+
}
|
|
2237
|
+
/**
|
|
2238
|
+
* TrainSimulate.setTrainBehavior 参数。
|
|
2239
|
+
*/
|
|
2240
|
+
interface TrainSimulateSetTrainBehaviorRequest {
|
|
2241
|
+
/** 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。 */
|
|
2242
|
+
parentId?: string;
|
|
2243
|
+
/** 唯一编号,必填。 */
|
|
2244
|
+
id: string;
|
|
2245
|
+
/** 列车运动方式:StopAtTheEnd 到达终点后停止、Loop 循环播放、BackAndForward 反复播放。默认 StopAtTheEnd。 */
|
|
2246
|
+
moveType?: TrainBehavior;
|
|
2247
|
+
}
|
|
2248
|
+
/**
|
|
2249
|
+
* TrainSimulate.setCameraFollowTrain 参数。
|
|
2250
|
+
*/
|
|
2251
|
+
interface TrainSimulateSetCameraFollowTrainRequest {
|
|
2252
|
+
/** 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。 */
|
|
2253
|
+
parentId?: string;
|
|
2254
|
+
/** 唯一编号,必填。 */
|
|
2255
|
+
id: string;
|
|
2256
|
+
/** 相机相对列车的偏移量,默认 (26, 18, 15),坐标类型固定为 '0000'。 */
|
|
2257
|
+
offSet?: Vector3Input;
|
|
2258
|
+
}
|
|
2259
|
+
/**
|
|
2260
|
+
* TrainSimulate.setTrainVolume 参数。
|
|
2261
|
+
*/
|
|
2262
|
+
interface TrainSimulateSetTrainVolumeRequest {
|
|
2263
|
+
/** 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。 */
|
|
2264
|
+
parentId?: string;
|
|
2265
|
+
/** 唯一编号,必填。 */
|
|
2266
|
+
id: string;
|
|
2267
|
+
/** 音量大小,取值 0-1,默认 0.5。 */
|
|
2268
|
+
volume?: number;
|
|
2269
|
+
}
|
|
2202
2270
|
//#endregion
|
|
2203
2271
|
//#region src/types/buildingFloor.d.ts
|
|
2204
2272
|
/** 建筑楼层固定视角。 */
|
|
@@ -4328,6 +4396,8 @@ declare class Navigation extends BaseApi {
|
|
|
4328
4396
|
* @agentExample { parentId: 'Players', id: 'Player1', nodes: [{ x: 114.7985155712282, y: 34.842421780635625, z: 2 }, { x: 114.79789723105696, y: 34.84218433379876, z: 1.5 }], isCache: false, planColor: '#00ff00', passColor: '#e1e1e1' }
|
|
4329
4397
|
* @example
|
|
4330
4398
|
* ```ts
|
|
4399
|
+
*
|
|
4400
|
+
* 示例1:模型对象根据路过的节点进行导航
|
|
4331
4401
|
dtcEngine.Navigation.startNav({
|
|
4332
4402
|
parentId: 'Players',
|
|
4333
4403
|
id: 'Player1',
|
|
@@ -4344,6 +4414,52 @@ declare class Navigation extends BaseApi {
|
|
|
4344
4414
|
passColor: '#e1e1e1',
|
|
4345
4415
|
offSetZ: 0.5,
|
|
4346
4416
|
}, (result) => { console.log(result); });
|
|
4417
|
+
* 示例2:模型对象根据目标编码进行导航
|
|
4418
|
+
dtcEngine.Navigation.startNav({
|
|
4419
|
+
parentId: 'Players',
|
|
4420
|
+
id: 'Player1',
|
|
4421
|
+
targetCodes: ['1d370e56f4684f07963fed87e91e2164','070b49c4a6c24e0bae3aa8dcd4563556','d7d92d67093f47b881d11e3b59107d0f', 'd5eab05cbf8543aaacd218db300c61cd','a2e0eb51ee8f438088a48a392ffe02d3', '2459436d256847db9084e04e5ef9115c','5317033054e44835a14a6b7a9f5eed74'],
|
|
4422
|
+
isCache: false,
|
|
4423
|
+
planColor: '#00ff00',
|
|
4424
|
+
passColor: '#e1e1e1',
|
|
4425
|
+
offSetZ: 0.5,
|
|
4426
|
+
}, (result) => { console.log(result); });
|
|
4427
|
+
|
|
4428
|
+
** 示例3:模型对象根据目标坐标进行导航
|
|
4429
|
+
dtcEngine.Navigation.startNav({
|
|
4430
|
+
parentId: 'patrolLayer',
|
|
4431
|
+
id: 'TestNav',
|
|
4432
|
+
targetIds: [
|
|
4433
|
+
"14b5770c062c47e1b359c09026221adc",
|
|
4434
|
+
"56ce729e6ab74858a830b85b638fbe32",
|
|
4435
|
+
"738f6f36bf704969955872c63fab0bd1",
|
|
4436
|
+
"534500c3a1c84defab8a9a3d0c0e60a0",
|
|
4437
|
+
"74b694f0216d4aaf9b059bba22228c21",
|
|
4438
|
+
"2a025d1b1d6641a2b2a2e76f82abbb8c",
|
|
4439
|
+
"bc60c0fd9e6247989e2fda0e57756188",
|
|
4440
|
+
"42dd7766abc94cce97cb36244c348937",
|
|
4441
|
+
"ad594980d6d54752baf63b2f26a29493",
|
|
4442
|
+
],
|
|
4443
|
+
isCache: false,
|
|
4444
|
+
planColor: '#ff820b',
|
|
4445
|
+
passColor: '#e1e1e1',
|
|
4446
|
+
speed: 3,
|
|
4447
|
+
offSetZ: 0.5,
|
|
4448
|
+
isAutoClear: false,//是否自动清除,默认 `true`。
|
|
4449
|
+
scale: new dtcEngine.Type.Vector3(3, 3, 3),
|
|
4450
|
+
}, (result) => {
|
|
4451
|
+
console.log(result);
|
|
4452
|
+
let param = JSON.parse(result.param);
|
|
4453
|
+
if (param.status == 'start') {
|
|
4454
|
+
// dtcEngine.Camera.startCameraObjFollow({
|
|
4455
|
+
// parentId: "patrolLayer",
|
|
4456
|
+
// id: 'TestNav',
|
|
4457
|
+
// offSet: new dtcEngine.Type.Vector3(-10, 0, 3),
|
|
4458
|
+
// });
|
|
4459
|
+
} else if (param.status == 'finished') {
|
|
4460
|
+
dtcEngine.Camera.endCameraObjFollow();
|
|
4461
|
+
}
|
|
4462
|
+
});
|
|
4347
4463
|
* ```
|
|
4348
4464
|
*/
|
|
4349
4465
|
startNav(payload: NavigationMeshNavRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
@@ -5686,6 +5802,118 @@ declare class SpatialQuery extends BaseApi {
|
|
|
5686
5802
|
layerQueryByModelBox(payload: SpatialQueryLayerByModelBoxRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5687
5803
|
}
|
|
5688
5804
|
//#endregion
|
|
5805
|
+
//#region src/api/TrainSimulate.d.ts
|
|
5806
|
+
/**
|
|
5807
|
+
* 列车模拟 API,支持启动列车、设置列车运动方式与音量、相机跟随/取消跟随列车。
|
|
5808
|
+
* @agentTitle 列车模拟
|
|
5809
|
+
* @agentCapabilities 列车启动, 列车运动方式设置, 列车音量设置, 相机跟随列车, 取消相机跟随列车
|
|
5810
|
+
* @hideconstructor
|
|
5811
|
+
*/
|
|
5812
|
+
declare class TrainSimulate extends BaseApi {
|
|
5813
|
+
constructor(bridge: ApiBridge, runtimeOptions?: BaseApiRuntimeOptions);
|
|
5814
|
+
/**
|
|
5815
|
+
* 设置火车的动态并启动列车。
|
|
5816
|
+
* 默认值:`direction='0'`、`action='1'`、`stopTime=180`、`moveType=StopAtTheEnd`。
|
|
5817
|
+
* `id` 为必填的唯一编号;`parentId` 用于避免重名,可不填。
|
|
5818
|
+
* @param payload - 列车启动参数。
|
|
5819
|
+
* @param callback - 可选回调函数。
|
|
5820
|
+
* @returns Promise 形式的接口响应。
|
|
5821
|
+
* @agentSideEffects write
|
|
5822
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5823
|
+
* @agentRiskLevel low
|
|
5824
|
+
* @agentExample { parentId: 'RailTrains', id: 'DTrain1', trainCode: 'G501', startStationName: '北京', endStationName: '上海', direction: '0', action: '1', stopTime: 180, moveType: 'StopAtTheEnd' }
|
|
5825
|
+
* @example
|
|
5826
|
+
* ```ts
|
|
5827
|
+
* dtcEngine.TrainSimulate.startTrain(
|
|
5828
|
+
* {
|
|
5829
|
+
* parentId: 'RailTrains',
|
|
5830
|
+
* id: 'DTrain1',
|
|
5831
|
+
* trainCode: 'G501',
|
|
5832
|
+
* startStationName: '北京',
|
|
5833
|
+
* endStationName: '上海',
|
|
5834
|
+
* direction: '0',
|
|
5835
|
+
* action: '1',
|
|
5836
|
+
* stopTime: 180,
|
|
5837
|
+
* moveType: dtcEngine.Enums.TrainBehavior.StopAtTheEnd
|
|
5838
|
+
* },
|
|
5839
|
+
* (result) => { console.log(result); }
|
|
5840
|
+
* );
|
|
5841
|
+
* ```
|
|
5842
|
+
*/
|
|
5843
|
+
startTrain(payload: TrainSimulateStartTrainRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5844
|
+
/**
|
|
5845
|
+
* 设置火车的运动方式。
|
|
5846
|
+
* 默认值:`moveType=StopAtTheEnd`。
|
|
5847
|
+
* @param payload - 列车运动方式参数。
|
|
5848
|
+
* @param callback - 可选回调函数。
|
|
5849
|
+
* @returns Promise 形式的接口响应。
|
|
5850
|
+
* @agentSideEffects write
|
|
5851
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5852
|
+
* @agentRiskLevel low
|
|
5853
|
+
* @agentExample { parentId: 'RailTrains', id: 'DTrain1', moveType: 'Loop' }
|
|
5854
|
+
* @example
|
|
5855
|
+
* ```ts
|
|
5856
|
+
* dtcEngine.TrainSimulate.setTrainBehavior(
|
|
5857
|
+
* { parentId: 'RailTrains', id: 'DTrain1', moveType: dtcEngine.Enums.TrainBehavior.Loop },
|
|
5858
|
+
* (result) => { console.log(result); }
|
|
5859
|
+
* );
|
|
5860
|
+
* ```
|
|
5861
|
+
*/
|
|
5862
|
+
setTrainBehavior(payload: TrainSimulateSetTrainBehaviorRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5863
|
+
/**
|
|
5864
|
+
* 设置相机跟随火车。
|
|
5865
|
+
* 默认偏移量 `offSet=(26, 18, 15)`,坐标类型固定为 `'0000'`。
|
|
5866
|
+
* @param payload - 相机跟随参数。
|
|
5867
|
+
* @param callback - 可选回调函数。
|
|
5868
|
+
* @returns Promise 形式的接口响应。
|
|
5869
|
+
* @agentSideEffects write
|
|
5870
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5871
|
+
* @agentRiskLevel low
|
|
5872
|
+
* @agentExample { parentId: 'RailTrains', id: 'DTrain1', offSet: { x: 26, y: 18, z: 15, ePSGType: '0000' } }
|
|
5873
|
+
* @example
|
|
5874
|
+
* ```ts
|
|
5875
|
+
* dtcEngine.TrainSimulate.setCameraFollowTrain(
|
|
5876
|
+
* { parentId: 'RailTrains', id: 'DTrain1', offSet: new dtcEngine.Type.Vector3(26, 18, 15) },
|
|
5877
|
+
* (result) => { console.log(result); }
|
|
5878
|
+
* );
|
|
5879
|
+
* ```
|
|
5880
|
+
*/
|
|
5881
|
+
setCameraFollowTrain(payload: TrainSimulateSetCameraFollowTrainRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5882
|
+
/**
|
|
5883
|
+
* 设置火车的音量大小。
|
|
5884
|
+
* 默认值:`volume=0.5`,取值范围 0-1。
|
|
5885
|
+
* @param payload - 列车音量参数。
|
|
5886
|
+
* @param callback - 可选回调函数。
|
|
5887
|
+
* @returns Promise 形式的接口响应。
|
|
5888
|
+
* @agentSideEffects write
|
|
5889
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5890
|
+
* @agentRiskLevel low
|
|
5891
|
+
* @agentExample { parentId: 'RailTrains', id: 'DTrain1', volume: 0.5 }
|
|
5892
|
+
* @example
|
|
5893
|
+
* ```ts
|
|
5894
|
+
* dtcEngine.TrainSimulate.setTrainVolume(
|
|
5895
|
+
* { parentId: 'RailTrains', id: 'DTrain1', volume: 0.5 },
|
|
5896
|
+
* (result) => { console.log(result); }
|
|
5897
|
+
* );
|
|
5898
|
+
* ```
|
|
5899
|
+
*/
|
|
5900
|
+
setTrainVolume(payload: TrainSimulateSetTrainVolumeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5901
|
+
/**
|
|
5902
|
+
* 取消相机跟随火车,无需传参。
|
|
5903
|
+
* @param callback - 可选回调函数。
|
|
5904
|
+
* @returns Promise 形式的接口响应。
|
|
5905
|
+
* @agentSideEffects write
|
|
5906
|
+
* @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
|
|
5907
|
+
* @agentRiskLevel low
|
|
5908
|
+
* @agentExample {}
|
|
5909
|
+
* @example
|
|
5910
|
+
* ```ts
|
|
5911
|
+
* dtcEngine.TrainSimulate.cancelCameraFollowTrain((result) => { console.log(result); });
|
|
5912
|
+
* ```
|
|
5913
|
+
*/
|
|
5914
|
+
cancelCameraFollowTrain(callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
|
|
5915
|
+
}
|
|
5916
|
+
//#endregion
|
|
5689
5917
|
//#region src/api/validationSchemas.d.ts
|
|
5690
5918
|
/**
|
|
5691
5919
|
* 未覆盖模块的校验占位清单:
|
|
@@ -5830,6 +6058,7 @@ interface ApiInstanceMap {
|
|
|
5830
6058
|
WeatherSystem: WeatherSystem;
|
|
5831
6059
|
WebView: WebView;
|
|
5832
6060
|
SpatialQuery: SpatialQuery;
|
|
6061
|
+
TrainSimulate: TrainSimulate;
|
|
5833
6062
|
}
|
|
5834
6063
|
type ApiModuleKey = keyof ApiInstanceMap;
|
|
5835
6064
|
/**
|
|
@@ -6538,6 +6767,7 @@ declare class DTCEngine {
|
|
|
6538
6767
|
readonly Autumn: 2;
|
|
6539
6768
|
readonly Winter: 3;
|
|
6540
6769
|
};
|
|
6770
|
+
TrainBehavior: typeof TrainBehavior;
|
|
6541
6771
|
VideoCodeType: typeof VideoCodeType;
|
|
6542
6772
|
};
|
|
6543
6773
|
/** 连接控制模块。 */
|
|
@@ -6785,4 +7015,4 @@ declare class SDKValidationError extends Error {
|
|
|
6785
7015
|
toJSON(): Record<string, unknown>;
|
|
6786
7016
|
}
|
|
6787
7017
|
//#endregion
|
|
6788
|
-
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 LayerSelectorRequest, type LayerShowUIPopRequest, type LayerSwitchModelRequest, 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, 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 };
|
|
7018
|
+
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 LayerSelectorRequest, type LayerShowUIPopRequest, type LayerSwitchModelRequest, 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 };
|