Microsoft.Xna.Framework.Graphics.Viewport.Viewport C# (CSharp) Метод

Viewport() публичный Метод

Creates a new instance of Viewport struct.
public Viewport ( Rectangle bounds ) : System
bounds Rectangle A that defines the location and size of the in a render target.
Результат System
		public Viewport(Rectangle bounds) : this(bounds.X, bounds.Y, bounds.Width, bounds.Height)
		{
		}

Same methods

Viewport::Viewport ( int x, int y, int width, int height ) : System
Viewport::Viewport ( int x, int y, int width, int height, float minDepth, float maxDepth ) : System