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

Syntax

void SetOrtho(
     const ut::Rect & rect,
     f32 nearClip,
     f32 farClip
);

Arguments

Name Description
in rect The rectangle that is the near plane of the view frustum in the near clipping plane.
in nearClip Distance to the near clipping plane.
in farClip Distance to the far clipping plane.

Return Values

None.

Description

Sets the projection updater parameters for the configured Ortho.

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