nw::gfx::res::ResProjectionRect Structure

Syntax

struct ResProjectionRect
{
   nw::ut::ResF32 m_AspectRatio;
   nw::ut::ResF32 m_Height;
   nw::ut::ResVec2 m_Center;
};

Description

Member Variables

m_AspectRatio
m_Height
m_Center

Member Functions

Set/Get
operator nw::ut::Rect Cast operator that converts into rectangle info in nw::ut::Rect format.
GetHeight Gets the height.
GetWidth Gets the width.
GetAspectRatio Gets the aspect ratio.
GetCenter Gets the central coordinates.
Set Sets the rectangle by specifying the upper-left and lower-right corners.

CONFIDENTIAL