示例#1
0
 /// <summary>
 /// 世界中一个点是否在相机内
 /// </summary>
 /// <param name="cam"></param>
 /// <param name="worldPos"></param>
 /// <returns></returns>
 public static bool CheckIn(this Camera cam, Vector3 worldPos)
 {
     return(cam.CheckIn(worldPos, out var Viewpos));
 }