Hello!
You can access the camera from the ARSession of the RoomPlan.
func captureSession(_ session: RoomCaptureSession, didUpdate room: CapturedRoom) {
guard let currentFrame = session.arSession.currentFrame?.camera else { return }
// use camera here
}
This example is on captureSession - didUpdate but you can get it from any method from RoomCaptureSessionDelegate, more specifically from RoomCaptureSession object.
Topic:
Spatial Computing
SubTopic:
General
Tags: