kotlin - 在谷歌 AR 场景查看器中设置估计照明?
问题描述
我想在 Kotlin 中使用谷歌场景查看器创建一个显示 AR 的意图,代码如下:
val sceneViewerIntent = Intent(Intent.ACTION_VIEW)
val intentUri = Uri.parse("https://arvr.google.com/scene-viewer/1.0").buildUpon()
.appendQueryParameter(
"file",
3D_MODEL_URL
)
.appendQueryParameter("mode", "ar_only")
.appendQueryParameter("disable_occlusion", "false")
.build()
sceneViewerIntent.data = intentUri
sceneViewerIntent.setPackage("com.google.ar.core")
startActivity(sceneViewerIntent)
但是如何添加照明估计?
解决方案
推荐阅读
- html - 对不同的屏幕尺寸使用 @media 查询无法正常工作
- authentication - 谷歌的登录是如何工作的?OAuth2.0?萨姆勒?
- c# - 如何重构类似方法以消除重复设置和异常处理?
- java - 底部导航栏不显示图标
- powershell - BAT 或 PowerShell 文件(通过发送到)将带有 flac 的文件夹/文件转换为 mp3
- python - 如何使用外部提供者创建 JWT DRF 消费者?
- node.js - 如何在 node.js 中的 pug 模板引擎中呈现页面
- excel - Excel 函数作为 SUMIFS 标准
- android - 在 Android 的 ToggleButton 中未使用 CustomAttr 应用 ColorStateList 和 TextColor
- python - Keras Dropout 卷积滤波器