@RaananW is there a particular feature that needs to be enabled for this or anything ? I tried doing some digging online and there is very little out there documented about it
I can only assume they are using the bounded-floor reference space (Using bounded reference spaces - Web APIs | MDN). This adds the boundsGeometry array of 3D points with which you can generate geometries, similar to the way the geometries are used when constructing a plane in the ar plane detection. After converting it to a babylon object, you can do whatever you want with it