导航场景映射与嵌入画布模式支持优化

- .gitignore 忽略 wwwroot,前端产物不入库
- 导航方式映射调整,磁导航/二维码/激光场景合并
- active-scenes.json 默认加入 scene.device
- SimpleLite 启动支持 --migu 嵌入画布模式
- 新增 EmbeddedCanvas 配置项,默认启用
This commit is contained in:
zhaowei.huang
2026-06-23 13:47:28 +08:00
parent e3373584ad
commit f1e604df36
5 changed files with 26 additions and 9 deletions
+11
View File
@@ -57,4 +57,15 @@ public sealed class SimpleLiteOptions
/// 一般只在临时联调期 / CI 流水线想自动清理时打开。
/// </summary>
public bool FollowParent { get; set; } = false;
/// <summary>
/// 平台拉起 SimpleLite 时是否以「迷榖嵌入画布」模式运行(透传命令行 <c>--migu</c>),默认 <b>true</b>。
///
/// true:平台 iframe 嵌入场景,SimpleLite WebTerminal 默认只显示 3D 画布、隐藏所有 ImGui panel
/// 业务 UI 全部由 Vue 平台前端接管;declare 时序失败时也安全回退到纯画布。
/// false:平台拉起的 SimpleLite web 端默认显示完整 panel(便于把平台拉起的实例直连 :8223 调试)。
///
/// 与 LaunchModeweb / web+local,是否保留本地调试窗口)正交,可任意组合。
/// </summary>
public bool EmbeddedCanvas { get; set; } = true;
}