sead
Loading...
Searching...
No Matches
sead::OrthoCamera Class Reference

#include <seadCamera.h>

Inherits sead::LookAtCamera.

Public Member Functions

 OrthoCamera ()
 OrthoCamera (const Vector2f &center, f32 distance)
 OrthoCamera (const OrthoProjection &proj)
 ~OrthoCamera () override
void setByOrthoProjection (const OrthoProjection &proj)
void setRotation (f32 rad)
Public Member Functions inherited from sead::LookAtCamera
 LookAtCamera ()
 LookAtCamera (const Vector3f &pos, const Vector3f &at, const Vector3f &up)
 ~LookAtCamera () override
void doUpdateMatrix (Matrix34f *dst) const override
Vector3fgetPos ()
const Vector3fgetPos () const
Vector3fgetAt ()
const Vector3fgetAt () const
Vector3fgetUp ()
const Vector3fgetUp () const
Public Member Functions inherited from sead::Camera
 Camera ()
virtual ~Camera ()
Matrix34fgetViewMatrix ()
const Matrix34fgetViewMatrix () const
void updateViewMatrix ()
void getWorldPosByMatrix (Vector3f *dst) const
void getLookVectorByMatrix (Vector3f *dst) const
void getRightVectorByMatrix (Vector3f *dst) const
void getUpVectorByMatrix (Vector3f *dst) const
void worldPosToCameraPosByMatrix (Vector3f *dst, const Vector3f &world_pos) const
void cameraPosToWorldPosByMatrix (Vector3f *dst, const Vector3f &camera_pos) const
void projectByMatrix (Vector2f *dst, const Vector3f &world_pos, const Projection &projection, const Viewport &viewport) const
void unprojectRayByMatrix (Ray< Vector3f > *dst, const Vector3f &camera_pos) const

Additional Inherited Members

Protected Attributes inherited from sead::Camera
Matrix34f mMatrix

Constructor & Destructor Documentation

◆ OrthoCamera() [1/3]

sead::OrthoCamera::OrthoCamera ( )

◆ OrthoCamera() [2/3]

sead::OrthoCamera::OrthoCamera ( const Vector2f & center,
f32 distance )

◆ OrthoCamera() [3/3]

sead::OrthoCamera::OrthoCamera ( const OrthoProjection & proj)

◆ ~OrthoCamera()

sead::OrthoCamera::~OrthoCamera ( )
override

Member Function Documentation

◆ setByOrthoProjection()

void sead::OrthoCamera::setByOrthoProjection ( const OrthoProjection & proj)

◆ setRotation()

void sead::OrthoCamera::setRotation ( f32 rad)