#include <Viewport.h>
◆ Viewport() [1/3]
| ph::Viewport::Viewport |
( |
| ) |
|
|
inline |
◆ Viewport() [2/3]
◆ Viewport() [3/3]
◆ getBaseSizePx()
| const math::TVector2< uint32 > & ph::Viewport::getBaseSizePx |
( |
| ) |
const |
|
inline |
The full size of this viewport.
◆ getCroppedRegionPx()
| math::TAABB2D< int64 > ph::Viewport::getCroppedRegionPx |
( |
| ) |
const |
|
inline |
The viewing area of this viewport. The difference between cropped region and window is that cropped region will never exceed the area defined by base size.
◆ getWindowPx()
| const math::TAABB2D< int64 > & ph::Viewport::getWindowPx |
( |
| ) |
const |
|
inline |
The window that limits the viewing area of this viewport.
◆ hasView()
| bool ph::Viewport::hasView |
( |
| ) |
const |
|
inline |
Whether there is any viewable area in the viewport.
◆ numBasePixels()
| std::size_t ph::Viewport::numBasePixels |
( |
| ) |
const |
|
inline |
◆ numCroppedRegionPixels()
| std::size_t ph::Viewport::numCroppedRegionPixels |
( |
| ) |
const |
|
inline |
◆ toString()
| std::string ph::Viewport::toString |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: