nw::gfx::res::ResProjectionRect::Set Member Function

Syntax

void Set(
     f32 l,
     f32 r,
     f32 b,
     f32 t
);

void Set(
     f32 aspect,
     f32 height,
     const nw::math::VEC2 & center
);

List of Overloaded Member Functions

Set(f32, f32, f32, f32) Sets the rectangle by specifying the upper-left and lower-right corners.
Set(f32, f32, const nw::math::VEC2 &) Sets a rectangle by specifying the height and the aspect ratio.

Description of Set(f32, f32, f32, f32)

Sets the rectangle by specifying the upper-left and lower-right corners.

Description of Set(f32, f32, const nw::math::VEC2 &)

Sets a rectangle by specifying the height and the aspect ratio.


CONFIDENTIAL