public HitRecord RayCast(Ray ray) { HitRecord rec; bool hit = mTree.Hit(ray, 0, 100000, out rec); return(rec); }