For RoomAnchors there's different mesh classifications for mesh anchors, but only walls and floors are supported by geometries() function.
So given this how can I get information about other mesh classifications?
For RoomAnchors there's different mesh classifications for mesh anchors, but only walls and floors are supported by geometries() function.
So given this how can I get information about other mesh classifications?
Hey @rob42lou,
The geometries(of:) function only returns mesh geometries. In order to detect windows, you need a PlaneDetectionProvider that will provide you with the plane anchors. RoomAnchor has a planeAnchorIDs instance property that provides an array of IDs of the plane anchors associated with that room.
Let me know if you have additional questions,
Michael
This works great, thank you! However the Vision Pro doesn't seem to want to detect windows, or at least my windows. Works fine for walls/floors/doors/etc... Is there a certain window shape PlaneDetection is looking for ?