I am currently developing a Unity project for the HoloLens. For this I am using the Spatial Mapping Observer and the Spatial Mapping Manager from the HoloToolkit. I need to access the spatial Mesh, in particular the vertices in the mesh. Now my questions are:
How does the HoloLens handle meshes? To get access to all vertices I need to loop first trough the mesh list and then trough every mesh to get them. Why does the Spatial Mapping Manager provide me with several meshes?
In what coordinate frame are those vertices? If I want the relative distance from one vertex to the camera can I just subtract the camera position in world frame from the vertex position? Is the vertex in world frame?
Thank you very much for your time!