创建视频融合
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
videoPath | string | 是 | — | — |
position | string | 是 | 0.0, 0.0, 0.0 | — |
rotation | string | 是 | 0.0, -90.0, 0.0 | — |
scale | string | 是 | 1.0, 1.0, 1.0 | — |
intensity | string | 是 | 1 | — |
distance | string | 是 | 100000 | — |
FOV | string | 是 | 30 | — |
aspectRatio | string | 是 | 1 | — |
uvOffset | string | 是 | 0, 0 | — |
uvScale | string | 是 | 1.0, 1.0 | — |
featheringSize | string | 是 | 0 | — |
featheringAttenuation | string | 是 | 0 | — |
调用
typescript
piclient.emit("gis.createProjectionVideo2",{
"videoPath": "", // 文件路径需额外添加转义符,如:"D:\project\filename.mp4"需要写成"D:\\project\\filename.mp4"
"position": "1131.05, -148.33, 161.1", // 位置坐标
"rotation": "0.0, -33.900002 , -30.9", //旋转坐标
"scale": "1.0, 1.0, 1.0", // 缩放大小
"intensity": "1", // 画面亮度
"distance": "100000", // 投影距离
"FOV": "30", // 视角FOV
"aspectRatio": "1", // 画面宽高比
"uvOffset": "0, 0", // UV偏移X,UV偏移Y
"uvScale": "1.0, 1.0", // UV重复X,UV重复Y
"featheringSize": "0", // 羽化率
"featheringAttenuation": "0" // 羽化衰减
})