RoomCapture Visualizer

In the WWDC video the code includes a reference to the visualizer object.

var previewVisualizer: Visualizer!

I'd like to create my own ViewController using RoomCaptureSession and incorporate the visualizer. This doesn't seem to be available in the RoomPlan framework, have I missed something or has this been removed from the public interface? Thanks

Answered by in 718750022

Hi, the Visualizer in the WWDC video should be a custom class you create on your own to handle the visualization of CapturedRoom from the delegate callbacks. It's there only for illustration purpose, but not part of the API. Thanks.

Accepted Answer

Hi, the Visualizer in the WWDC video should be a custom class you create on your own to handle the visualization of CapturedRoom from the delegate callbacks. It's there only for illustration purpose, but not part of the API. Thanks.

I had this same reaction. It's at 6:50 into the RoomPlan demo presentation. When I got the compiler error for Visualizer I was thinking I missed an import, then I played the video a few times and barely caught the 'custom class example' comment.

RoomCapture Visualizer
 
 
Q