nw::gfx::Camera::SetFrustum Member Function

Syntax

void SetFrustum(
     const Viewport & viewport
);

Arguments

Name Description
in viewport The viewport.

Return Values

None.

Description

Sets the parameters for the projection updater configured for Frustum.

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 updater is not for Frustum.


CONFIDENTIAL