![]() |
Norbert's Game Engine v200
|
#include <Viewport3D.hpp>
Public Member Functions | |
| void | Update (bgfx::ViewId viewId, real3 aspect, real3 zNear, real3 zFar) |
| void | UpdateMV (bgfx::ViewId viewId, real3 aspect, real3 zNear, real3 zFar) |
| void | UpdateOrtho (bgfx::ViewId viewId, eOrthoView ov, real3 zNear, real3 zFar) |
| void | MouseRotate (real3 xpos, real3 ypos) |
| void | SetTranslation (vec3 translation) |
| vec3 | GetTranslation () |
| void | SetFront (vec3 front) |
| vec3 | GetFront () |
| void | SetTarget (vec3 target) |
| vec3 | GetTarget () |
| void | SetUp (vec3 up) |
| vec3 | GetUp () |
| void | SetDirection (eDirection direction) |
| eDirection | GetDirection () |
| void | SetZoom (real3 zoom) |
| real3 | GetZoom () |
| void | SetMinMaxZoom (vec2 minMaxZoom) |
| vec2 | GetMinMaxZoom () |
| void | SetMinMaxPitch (vec2 minMaxPitch) |
| vec2 | GetMinMaxPitch () |
| void | SetMinMaxYaw (vec2 minMaxYaw) |
| vec2 | GetMinMaxYaw () |
| void | SetSensitivity (real3 sensitivity) |
| real3 | GetSensitivity () |
| void | SetView (mat4 view) |
| mat4 | GetView () |
| void | SetFirstMouse (bool vl=true) |
| void | SetOrbitMode (bool vl) |
| bool | GetOrbitMode () |
| void | SetOrbitRadius (real3 radius) |
| real3 | GetOrbitRadius () |
Public Member Functions inherited from eBase | |
| template<typename T > | |
| T * | Cast (eBase *obj) |
| Cast class to base. | |
Viewport class for 3D
Definition at line 24 of file Viewport3D.hpp.
| eViewport3D::eViewport3D | ( | ) |
Definition at line 8 of file Viewport3D.cpp.
| eDirection eViewport3D::GetDirection | ( | ) |
Definition at line 152 of file Viewport3D.cpp.
| vec3 eViewport3D::GetFront | ( | ) |
Definition at line 122 of file Viewport3D.cpp.
| vec2 eViewport3D::GetMinMaxPitch | ( | ) |
Definition at line 182 of file Viewport3D.cpp.
| vec2 eViewport3D::GetMinMaxYaw | ( | ) |
Definition at line 192 of file Viewport3D.cpp.
| vec2 eViewport3D::GetMinMaxZoom | ( | ) |
Definition at line 172 of file Viewport3D.cpp.
| bool eViewport3D::GetOrbitMode | ( | ) |
Definition at line 227 of file Viewport3D.cpp.
| real3 eViewport3D::GetOrbitRadius | ( | ) |
Definition at line 237 of file Viewport3D.cpp.
| real3 eViewport3D::GetSensitivity | ( | ) |
Definition at line 202 of file Viewport3D.cpp.
| vec3 eViewport3D::GetTarget | ( | ) |
Definition at line 132 of file Viewport3D.cpp.
| vec3 eViewport3D::GetTranslation | ( | ) |
Definition at line 112 of file Viewport3D.cpp.
| vec3 eViewport3D::GetUp | ( | ) |
Definition at line 142 of file Viewport3D.cpp.
| mat4 eViewport3D::GetView | ( | ) |
Definition at line 212 of file Viewport3D.cpp.
| real3 eViewport3D::GetZoom | ( | ) |
Definition at line 162 of file Viewport3D.cpp.
| void eViewport3D::MouseRotate | ( | real3 | xpos, |
| real3 | ypos ) |
Definition at line 58 of file Viewport3D.cpp.
| void eViewport3D::SetDirection | ( | eDirection | direction | ) |
Definition at line 147 of file Viewport3D.cpp.
| void eViewport3D::SetFirstMouse | ( | bool | vl = true | ) |
Definition at line 217 of file Viewport3D.cpp.
| void eViewport3D::SetFront | ( | vec3 | front | ) |
Definition at line 117 of file Viewport3D.cpp.
| void eViewport3D::SetMinMaxPitch | ( | vec2 | minMaxPitch | ) |
Definition at line 177 of file Viewport3D.cpp.
| void eViewport3D::SetMinMaxYaw | ( | vec2 | minMaxYaw | ) |
Definition at line 187 of file Viewport3D.cpp.
| void eViewport3D::SetMinMaxZoom | ( | vec2 | minMaxZoom | ) |
Definition at line 167 of file Viewport3D.cpp.
| void eViewport3D::SetOrbitMode | ( | bool | vl | ) |
Definition at line 222 of file Viewport3D.cpp.
| void eViewport3D::SetOrbitRadius | ( | real3 | radius | ) |
Definition at line 232 of file Viewport3D.cpp.
| void eViewport3D::SetSensitivity | ( | real3 | sensitivity | ) |
Definition at line 197 of file Viewport3D.cpp.
| void eViewport3D::SetTarget | ( | vec3 | target | ) |
Definition at line 127 of file Viewport3D.cpp.
| void eViewport3D::SetTranslation | ( | vec3 | translation | ) |
Definition at line 107 of file Viewport3D.cpp.
| void eViewport3D::SetUp | ( | vec3 | up | ) |
Definition at line 137 of file Viewport3D.cpp.
| void eViewport3D::SetView | ( | mat4 | view | ) |
Definition at line 207 of file Viewport3D.cpp.
| void eViewport3D::SetZoom | ( | real3 | zoom | ) |
Definition at line 157 of file Viewport3D.cpp.
| void eViewport3D::Update | ( | bgfx::ViewId | viewId, |
| real3 | aspect, | ||
| real3 | zNear, | ||
| real3 | zFar ) |
Definition at line 24 of file Viewport3D.cpp.
| void eViewport3D::UpdateMV | ( | bgfx::ViewId | viewId, |
| real3 | aspect, | ||
| real3 | zNear, | ||
| real3 | zFar ) |
Definition at line 44 of file Viewport3D.cpp.
| void eViewport3D::UpdateOrtho | ( | bgfx::ViewId | viewId, |
| eOrthoView | ov, | ||
| real3 | zNear, | ||
| real3 | zFar ) |
Definition at line 51 of file Viewport3D.cpp.