#include <seadProjection.h>
Inherits sead::Projection.
|
| | FrustumProjection () |
| | FrustumProjection (f32 _near, f32 _far, f32 top, f32 bottom, f32 left, f32 right) |
| | FrustumProjection (f32 _near, f32 _far, const BoundBox2f &box) |
| | ~FrustumProjection () override |
| Type | getProjectionType () const override |
| void | doUpdateMatrix (Matrix44f *dst) const override |
| void | doScreenPosToCameraPosTo (Vector3f *dst, const Vector3f &screen_pos) const override |
| void | setNear (f32 near) |
| void | setFar (f32 far) |
| void | setTop (f32 top) |
| void | setBottom (f32 bottom) |
| void | setLeft (f32 left) |
| void | setRight (f32 right) |
| void | setTBLR (f32 top, f32 bottom, f32 left, f32 right) |
| void | setBoundBox (const BoundBox2f &box) |
| void | createDividedProjection (FrustumProjection *dst, s32 partno_x, s32 partno_y, s32 divnum_x, s32 divnum_y) const |
| f32 | getNear () const |
| f32 | getFar () const |
| f32 | getTop () const |
| f32 | getBottom () const |
| f32 | getLeft () const |
| f32 | getRight () const |
| f32 | getFovy () const |
| f32 | getAspect () const |
| void | getOffset (Vector2f *dst) const |
| f32 | getOffsetX () const |
| f32 | getOffsetY () const |
| void | setFovyAspectOffset (f32 fovy, f32 aspect, const Vector2f &offset) |
| | Projection () |
| virtual | ~Projection () |
| void | setDirty () |
| void | setDeviceDirty () |
| void | setDevicePosture (Graphics::DevicePosture pose) |
| const Matrix44f & | getProjectionMatrix () const |
| Matrix44f & | getProjectionMatrixMutable () |
| const Matrix44f & | getDeviceProjectionMatrix () const |
| void | cameraPosToScreenPos (Vector3f *dst, const Vector3f &camera_pos) const |
| void | screenPosToCameraPos (Vector3f *dst, const Vector3f &screen_pos) const |
| void | screenPosToCameraPos (Vector3f *dst, const Vector2f &screen_pos) const |
| void | project (Vector2f *dst, const Vector3f &camera_pos, const Viewport &viewport) const |
| void | unproject (Vector3f *dst, const Vector3f &screen_pos, const Camera &camera) const |
| void | unprojectRay (Ray< Vector3f > *dst, const Vector3f &screen_pos, const Camera &camera) const |
| virtual void | doUpdateDeviceMatrix (Matrix44f *dst, const Matrix44f &src, Graphics::DevicePosture pose) const |
◆ FrustumProjection() [1/3]
| sead::FrustumProjection::FrustumProjection |
( |
| ) |
|
◆ FrustumProjection() [2/3]
| sead::FrustumProjection::FrustumProjection |
( |
f32 | _near, |
|
|
f32 | _far, |
|
|
f32 | top, |
|
|
f32 | bottom, |
|
|
f32 | left, |
|
|
f32 | right ) |
◆ FrustumProjection() [3/3]
| sead::FrustumProjection::FrustumProjection |
( |
f32 | _near, |
|
|
f32 | _far, |
|
|
const BoundBox2f & | box ) |
◆ ~FrustumProjection()
| sead::FrustumProjection::~FrustumProjection |
( |
| ) |
|
|
override |
◆ getProjectionType()
| Type sead::FrustumProjection::getProjectionType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ doUpdateMatrix()
| void sead::FrustumProjection::doUpdateMatrix |
( |
Matrix44f * | dst | ) |
const |
|
overridevirtual |
◆ doScreenPosToCameraPosTo()
| void sead::FrustumProjection::doScreenPosToCameraPosTo |
( |
Vector3f * | dst, |
|
|
const Vector3f & | screen_pos ) const |
|
overridevirtual |
◆ setNear()
| void sead::FrustumProjection::setNear |
( |
f32 | near | ) |
|
|
inline |
◆ setFar()
| void sead::FrustumProjection::setFar |
( |
f32 | far | ) |
|
|
inline |
◆ setTop()
| void sead::FrustumProjection::setTop |
( |
f32 | top | ) |
|
|
inline |
◆ setBottom()
| void sead::FrustumProjection::setBottom |
( |
f32 | bottom | ) |
|
|
inline |
◆ setLeft()
| void sead::FrustumProjection::setLeft |
( |
f32 | left | ) |
|
|
inline |
◆ setRight()
| void sead::FrustumProjection::setRight |
( |
f32 | right | ) |
|
|
inline |
◆ setTBLR()
| void sead::FrustumProjection::setTBLR |
( |
f32 | top, |
|
|
f32 | bottom, |
|
|
f32 | left, |
|
|
f32 | right ) |
◆ setBoundBox()
| void sead::FrustumProjection::setBoundBox |
( |
const BoundBox2f & | box | ) |
|
◆ createDividedProjection()
| void sead::FrustumProjection::createDividedProjection |
( |
FrustumProjection * | dst, |
|
|
s32 | partno_x, |
|
|
s32 | partno_y, |
|
|
s32 | divnum_x, |
|
|
s32 | divnum_y ) const |
◆ getNear()
| f32 sead::FrustumProjection::getNear |
( |
| ) |
const |
|
inline |
◆ getFar()
| f32 sead::FrustumProjection::getFar |
( |
| ) |
const |
|
inline |
◆ getTop()
| f32 sead::FrustumProjection::getTop |
( |
| ) |
const |
|
inline |
◆ getBottom()
| f32 sead::FrustumProjection::getBottom |
( |
| ) |
const |
|
inline |
◆ getLeft()
| f32 sead::FrustumProjection::getLeft |
( |
| ) |
const |
|
inline |
◆ getRight()
| f32 sead::FrustumProjection::getRight |
( |
| ) |
const |
|
inline |
◆ getFovy()
| f32 sead::FrustumProjection::getFovy |
( |
| ) |
const |
◆ getAspect()
| f32 sead::FrustumProjection::getAspect |
( |
| ) |
const |
◆ getOffset()
| void sead::FrustumProjection::getOffset |
( |
Vector2f * | dst | ) |
const |
◆ getOffsetX()
| f32 sead::FrustumProjection::getOffsetX |
( |
| ) |
const |
◆ getOffsetY()
| f32 sead::FrustumProjection::getOffsetY |
( |
| ) |
const |
◆ setFovyAspectOffset()
| void sead::FrustumProjection::setFovyAspectOffset |
( |
f32 | fovy, |
|
|
f32 | aspect, |
|
|
const Vector2f & | offset ) |
◆ mNear
| f32 sead::FrustumProjection::mNear |
|
private |
◆ mFar
| f32 sead::FrustumProjection::mFar |
|
private |
◆ mTop
| f32 sead::FrustumProjection::mTop |
|
private |
◆ mBottom
| f32 sead::FrustumProjection::mBottom |
|
private |
◆ mLeft
| f32 sead::FrustumProjection::mLeft |
|
private |
◆ mRight
| f32 sead::FrustumProjection::mRight |
|
private |