Can I Scan in a local coordinate system?

I am building an AR app, and my current architecture involves building a virtual space dynamically under let’s say a “virtual-space” node. Then, as the user moves around, I adjust the transform of the virtual-space node to line up with the physical space the user is in.

I would like to do a Scan() of my virtual-space subtree in the coordinate frame of that node, not in the world coordinate frame (which is aligned to however the AR device happened to be aligned when powered on) - is this possible?


You can move graphs using the TransformNodes method, but note that this is pretty slow. I’d recommend trying to find a way to keep the graph in the same position in world space once it has been scanned.