nw::gfx::Viewport::SetBound Member Function
void SetBound(
float x,
float y,
float width,
float height
);
| 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. |
Sets the view rectangle.
CONFIDENTIAL