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

Syntax

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

Arguments

Name Description
in aspect Aspect ratio.
in height Height.
in center Center coordiante.

Return Values

None.

Description

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


CONFIDENTIAL