public static Vector2 PointInRect(Rect rect)
 {
     return(SharedRandom.PointInRect(rect));
 }