#include <Camera.hpp>
Definition at line 16 of file Camera.hpp.
◆ Type
Enumerator |
---|
Perspective | |
Orthographic | |
Definition at line 18 of file Camera.hpp.
◆ Camera() [1/3]
lug::Graphics::Builder::Camera::Camera |
( |
Renderer & |
renderer | ) |
|
|
explicit |
◆ Camera() [2/3]
lug::Graphics::Builder::Camera::Camera |
( |
const Camera & |
| ) |
|
|
delete |
◆ Camera() [3/3]
lug::Graphics::Builder::Camera::Camera |
( |
Camera && |
| ) |
|
|
delete |
◆ ~Camera()
lug::Graphics::Builder::Camera::~Camera |
( |
| ) |
|
|
default |
◆ operator=() [1/2]
Camera& lug::Graphics::Builder::Camera::operator= |
( |
const Camera & |
| ) |
|
|
delete |
◆ operator=() [2/2]
Camera& lug::Graphics::Builder::Camera::operator= |
( |
Camera && |
| ) |
|
|
delete |
◆ setName()
void Camera::setName |
( |
const std::string & |
name | ) |
|
|
inline |
Sets the name.
- Parameters
-
[in] | name | The name of the mesh. |
Definition at line 1 of file Camera.inl.
◆ setType()
void Camera::setType |
( |
Type |
type | ) |
|
|
inline |
◆ setFovY()
void Camera::setFovY |
( |
float |
fovy | ) |
|
|
inline |
◆ setAspectRatio()
void Camera::setAspectRatio |
( |
float |
aspectRatio | ) |
|
|
inline |
◆ setXMag()
void Camera::setXMag |
( |
float |
xmag | ) |
|
|
inline |
◆ setYMag()
void Camera::setYMag |
( |
float |
ymag | ) |
|
|
inline |
◆ setZNear()
void lug::Graphics::Builder::Camera::setZNear |
( |
float |
znear | ) |
|
◆ setZFar()
void lug::Graphics::Builder::Camera::setZFar |
( |
float |
zfar | ) |
|
◆ build()
◆ _renderer
Renderer& lug::Graphics::Builder::Camera::_renderer |
|
protected |
◆ _name
std::string lug::Graphics::Builder::Camera::_name |
|
protected |
◆ _type
◆ _fovy
float lug::Graphics::Builder::Camera::_fovy {0.0f} |
|
protected |
◆ _aspectRatio
float lug::Graphics::Builder::Camera::_aspectRatio {0.0f} |
|
protected |
◆ _xmag
float lug::Graphics::Builder::Camera::_xmag {0.0f} |
|
protected |
◆ _ymag
float lug::Graphics::Builder::Camera::_ymag {0.0f} |
|
protected |
◆ _znear
float lug::Graphics::Builder::Camera::_znear {0.0f} |
|
protected |
◆ _zfar
float lug::Graphics::Builder::Camera::_zfar {0.0f} |
|
protected |
The documentation for this class was generated from the following files: