Amply Interview Flashcards
What is ARKit?
Framework that handles data input for AR experiences
What is SceneKit?
3D engine SDK. Can be used with or without ARKit and has been around for longer.
What is RealityKit
Simulate and render 3D content for use in your augmented reality apps. Replacement for SceneKit
What is QuickLook?
Place 3D objects in the real world
What is RoomPlan?
An API inside of ARKit that uses LiDAR
What does LiDAR stand for?
Light Detection And Ranging
How does RoomPlan work?
- Present a RoomCaptureView
- Initiate a RoomCaptureSessions
- Output CapturedRoomData + Captured Room structs
List some of the RoomCaptureSessionDelegate methods
- capture session did start
- capture session did update
- capture session did provide instruction
- capture session did end
What is USDZ
USDZ is a 3D file format that shows up as AR content
In Apple’s LiDAR demo, describe which parts of the UX use which software
- the view capturing and highlighting is done by RoomPlan
- the 3d rendering is done by RealityKit
What is MetalKit?
Graphics rendering, primarily for games
Explain the stack in Apple’s LIDAR example
- swiftui view
- cameramanager (similar to viewmodel)
- controller (delegate methods)
How to embed a UIViewController in a SwiftUI view?
- Create a struct that conforms to UIViewControllerRepresentable
- create the VC in makeUIViewController()
- update data in updateUIViewController()
When does updateUIViewController get called?
When the state of your app changes
What are the two delegate methods for UIViewControllerRepresentable?
- makeUIViewController()
- updateUIViewController()