问题描述
我有一个应用程序可以从多个 ARFrame
生成点云。用于捕获图像的相机似乎具有动态白平衡,并且可以在捕获会话的中间更改它。
如何配置 ARView、ARSession 或 ARCamera 以强制其在会话期间锁定白平衡?
我可以访问以下参数,但没有看到任何与白平衡相关的内容。
var arView: ARView!
let session: ARSession = arView.session
var sampleFrame: ARFrame = session.currentFrame!
let camera = sampleFrame.camera
func configureSessionAndRun() {
arView.automaticallyConfigureSession = false
let configuration = ARWorldTrackingConfiguration()
configuration.sceneReconstruction = .meshWithClassification
configuration.frameSemantics = .smoothedSceneDepth
configuration.planeDetection = [.horizontal,.vertical]
configuration.environmentTexturing = .automatic
arView.session.run(configuration)
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)