ios11 - How to place 3D model using ARKit iOS 11 with some custom background view without using camera? -
i working on augmented reality ios app using arkit of ios 11 beta. using arscnview(scenekit) render .scn object. have followed sample given apple in order create arsession(https://developer.apple.com/sample-code/wwdc/2017/placingobjects.zip). possible place 3d model custom background instead of camera?
like user can select background color or can provide custom 2d photos background?
your view has scene property can set background color or image:
view.scene.background.contents = uicolor.red let myimage: uiimage = ... view.scene.background.contents = myimage
Comments
Post a Comment