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

Syntax

void SetFrustum(
     f32 left,
     f32 right,
     f32 bottom,
     f32 top,
     f32 nearClip,
     f32 farClip
);

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

void SetFrustum(
     const Viewport & viewport
);

List of Overloaded Member Functions

SetFrustum ( f32, f32, f32, f32, f32, f32 ) Sets the parameters for the projection updater configured for Frustum.
SetFrustum ( const ut::Rect &, f32, f32 ) Sets the parameters for the projection updater configured for Frustum.
SetFrustum ( const Viewport & ) Sets the parameters for the projection updater configured for Frustum.

Description of SetFrustum ( f32, f32, f32, f32, f32, f32 )

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.

Description of SetFrustum ( const ut::Rect &, f32, f32 )

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.

Description of SetFrustum ( const Viewport & )

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