nw::gfx::Camera::GetFrustum Member Function

Syntax

void GetFrustum(
     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

Obtains the parameters for the projection updater configured for Frustum.

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


CONFIDENTIAL