Hello,
In the context of App development on iOS. I want to investigate / debug how the persistance is operated on my target.
I have already knowledge of persistence and this is not the scope of my post.
I want to find a simple way. And the most would be the simplest way to locate the files generated by my app on the build target.
If you have you clue, I take it...
Take care
Behr
Post
Replies
Boosts
Views
Activity
Hello,
I have 6 images which correspond to: X+ X- Y+ Y- Z+ and Z-
I want to set scene background programmatically
var scene = SCNScene()
scene.background.contents = ???
HelloI am in a very simple project inI want to use a skybox So made a xcassets Added a Cube Texture in it (named 'menu'In my MainScene.scn I have a camera In the scene inspector I set background to 'menu'Here what I see ...https://www.dropbox.com/t/rvQKqmdAt3tRGGrlAny clue?
HelloReady some post and documentation.If finally tryied to launch an ARView in nonAR mode.Here is the documentation I read:https://developer.apple.com/documentation/realitykit/arview/3340492-initSo Given a fresh new Xcode project setup using Augmented Reality App configuration for iOS default.I just modified the code a little (see below)import UIKit
import RealityKit
class ViewController: UIViewController {
@IBOutlet var arView: ARView!
override func viewDidLoad() {
super.viewDidLoad()
setupArView()
// Load the "Box" scene from the "Experience" Reality File
let boxAnchor = try! Experience.loadBox()
// Add the box anchor to the scene
arView.scene.anchors.append(boxAnchor)
}
func setupArView() {
let frameRect = CGRect(x: 0, y: 0, width: 100, height: 100)
let cameraMode = ARView.CameraMode.nonAR
arView = ARView(frameRect: frameRect, cameraMode: cameraMode, automaticallyConfigureSession: false)
}
}When I look at the error of XCode editor:I have:On line 22Type 'ARView' has no member 'CameraMode' ... that is a very bad newsAny clue / or sample code ?Regards