Can I use room plan api with scene reconstruction api ?

I want to use room plan api alongside with scene reconstruction api at the same time. but doesn't seem to work

Answered by jmousseau in 716585022

RoomPlan owns the underlying ARKit session and corresponding configuration. The configuration only enables scene depth, not scene reconstruction.

Accepted Answer

RoomPlan owns the underlying ARKit session and corresponding configuration. The configuration only enables scene depth, not scene reconstruction.

Hello jmousseau are you sure RoomPlan enables scene depth?

This snippet of code in a RoomCaptureSessionDelegate class:

func captureSession(_ session: RoomCaptureSession, didProvide instruction: RoomCaptureSession.Instruction) {
        print(session.arSession.currentFrame?.sceneDepth != nil ? true : false)
}

prints false

Can I use room plan api with scene reconstruction api ?
 
 
Q