Using AVCaptureDevice as SCNScene background content

后端 未结 1 1334
野趣味
野趣味 2021-01-22 02:01

During the SceneKit: What\'s New presentation at WWCD2017 (44:19) it was stated that we can now use AVCaptureDevice as background content for SCNScene.

相关标签:
1条回答
  • 2021-01-22 02:47

    Edit

    This bug seems to be fixed in iOS 11.2


    Original answer

    this appears to be a bug in SceneKit.

    If that works for you a workaround would be to use an ARSCNView. It gives you access to all the SceneKit APIs, and it automatically draws the video feed as the scene's background.

    0 讨论(0)
提交回复
热议问题