nw::gfx::Viewport::SetBound Member Function

Syntax

void SetBound(
     float x,
     float y,
     float width,
     float height
);

Arguments

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.

Return Values

None.

Description

Sets the view rectangle.


CONFIDENTIAL