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

Syntax

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

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

void SetOrtho(
     const Viewport & viewport
);

List of Overloaded Member Functions

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

Description of SetOrtho ( f32, f32, f32, f32, 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 app data was not for Ortho.

Description of SetOrtho ( 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 app data was not for Ortho.

Description of SetOrtho ( 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 app data was not for Ortho.


CONFIDENTIAL