如何删除 ARSCNView 中的摄像头提要?
How to remove the camera feed in ARSCNView?
我想替换 ARSCNView 中的摄像头源,因为摄像头质量不如原生摄像头源。
有谁知道如何删除 ARSCNView 中的摄像头源?
您可以简单地在 ARSCNView
:
的实例上执行此操作
scene.background.contents = nil
以上答案对我不起作用
sceneView.scene.background.contents = UIColor.clear
虽然对我有用
我想替换 ARSCNView 中的摄像头源,因为摄像头质量不如原生摄像头源。
有谁知道如何删除 ARSCNView 中的摄像头源?
您可以简单地在 ARSCNView
:
scene.background.contents = nil
以上答案对我不起作用
sceneView.scene.background.contents = UIColor.clear
虽然对我有用