ARCore中提供了根据屏幕坐标.视口大小及view. project矩阵计算从屏幕坐标发射一条射线的方法,此方法用于3D拾取. class Ray { public final Vector3f origin;//射线起点 public final Vector3f direction;//射线方向 public Ray(Vector3f origin, Vector3f direction) { this.origin = origin; this.direction = direction…