nw::gfx::Viewport::Viewport Constructor

Syntax

Viewport(
     float x,
     float y,
     float width,
     float height,
     float near,
     float far
);

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.
in near The near value to set.
in far The far value to set.

Description

Constructor.


CONFIDENTIAL