ios - AVCaptureVideoPreviewLayer and ARKit: is it possible to use them together? -
i've found using avcapturevideopreviewlayer
camera overlay, quality of camera image shown quite better when using arskview
. need use arkit
, display sknodes
according camera ouput, guess using arskview
, running session mandatory. on other hand, seems avcapturevideopreviewlayer
needed set avcapturesession
session instead.
is possible camera output avcapturevideopreviewlayer
, still being able display ar elemnts using arkit
? otherwise, there anyway improve quality of camera output when using arskview
? i've related session set this:
if arworldtrackingconfiguration.issupported { let configuration = arworldtrackingconfiguration() skview.session.run(configuration) }
Comments
Post a Comment