resonance 1.0.1
Loading...
Searching...
No Matches
Rnd::Cam::Rect Struct Reference

Rectangle the projected image is placed in. More...

#include <cam.h>

Public Attributes

float x
float y
float w
float h

Detailed Description

Rectangle the projected image is placed in.

Named after the single dump label "screenRect:" the four components are written under. The component labels are "(x:", " y:", " w:", and " h:". The extents are fractions of the render target rather than pixels. Rnd::PsCam::ScreenToPixels() proves it by scaling them by the target size. The type is nested because no other class stores a rectangle in this shape.

Member Data Documentation

◆ x

float Rnd::Cam::Rect::x

◆ y

float Rnd::Cam::Rect::y

◆ w

float Rnd::Cam::Rect::w

◆ h

float Rnd::Cam::Rect::h

The documentation for this struct was generated from the following file: