SceneView:
import SceneKit
import SwiftUI
...
SceneView(
scene: /* a scene in SCNScene or other formats (I remember you can use .obj, etc.) */,
options: [
.allowsCameraControl,
.autoenablesDefaultLighting
.someOtherOption
]
...
)
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: