Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Microsoft
Xna
Framework
Graphics
Viewport
Viewport
Microsoft.Xna.Framework.Graphics.Viewport.Viewport C# (CSharp) Метод
Документация по классу Viewport
Показать файл
Открыть проект
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
Viewport
Project
ToString
Unproject
Viewport
WithinEpsilon