nw::gfx::Camera::GetOrtho Member Function

Syntax

void GetOrtho(
     ut::Rect * rect,
     f32 * nearClip,
     f32 * farClip
) const;

Arguments

Name Description
in rect The pointer for storing the near plane rectangle of the frustum in the near clipping plane.
in nearClip The pointer for storing the distance to the near clipping plane.
in farClip The pointer for storing the distance to the far clipping plane.

Return Values

None.

Description

Gets the projection updater parameters for the configured Ortho.

This is a utility function designed to make it easy to obtain the parameters. Note that the program will halt if the configured projection app data was not for Ortho. If NULL is set for an argument that parameter will not be obtained.


CONFIDENTIAL