nw::gfx::Viewport::Viewport Constructor
Viewport(
float x,
float y,
float width,
float height,
float near,
float far
);
| Name | Description | |
|---|---|---|
| in | x | The X coordinate of the viewport being set. |
| in | y | The Y coordinate of the viewport being set. |
| in | width | The width of the viewport being set. |
| in | height | The height of the viewport being set. |
| in | near | The near value to set. |
| in | far | The far value to set. |
Constructor.
CONFIDENTIAL