/// <summary> /// Gets the view rect (width, height) /// </summary> /// <returns>ViewRect.</returns> protected virtual Rect GetViewRect() { if (RenderHandler == null) { return(new Rect(0, 0, 640, 480)); } return(RenderHandler.GetViewRect()); }
/// <summary> /// Gets the view rect (width, height) /// </summary> /// <returns>ViewRect.</returns> protected virtual ViewRect?GetViewRect() { return(RenderHandler?.GetViewRect()); }