nw::gfx::Camera::SetOrtho Member Function

Syntax

void SetOrtho(
     const Viewport & viewport
);

Arguments

Name Description
in viewport Configuration source viewport.

Return Values

None.

Description

Sets the projection updater parameters for the configured Ortho.

Sets parameters based on the given viewport. This is a utility function designed to make it easy to set the parameters. Note that the program will halt if the configured projection app data was not for Ortho.


CONFIDENTIAL