Camera stores camera definitions.
More...
#include <luxcore.h>
Camera stores camera definitions.
Definition at line 446 of file luxcore.h.
Types of cameras.
Enumerator |
---|
PERSPECTIVE |
|
ORTHOGRAPHIC |
|
STEREO |
|
ENVIRONMENT |
|
Definition at line 451 of file luxcore.h.
virtual luxcore::Camera::~Camera |
( |
| ) |
|
|
virtual |
virtual const CameraType luxcore::Camera::GetType |
( |
| ) |
const |
|
pure virtual |
Returns the camera type.
- Returns
- a camera type.
virtual void luxcore::Camera::Rotate |
( |
const float |
angle, |
|
|
const float |
x, |
|
|
const float |
y, |
|
|
const float |
z |
|
) |
| const |
|
pure virtual |
Rotates by angle around the axis. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
angle | is the rotation angle. |
axis | is the rotation axis. |
virtual void luxcore::Camera::RotateDown |
( |
const float |
angle | ) |
const |
|
pure virtual |
Rotates down by angle. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
angle | is the rotation angle. |
virtual void luxcore::Camera::RotateLeft |
( |
const float |
angle | ) |
const |
|
pure virtual |
Rotates left by angle. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
angle | is the rotation angle. |
virtual void luxcore::Camera::RotateRight |
( |
const float |
angle | ) |
const |
|
pure virtual |
Rotates right by angle. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
angle | is the rotation angle. |
virtual void luxcore::Camera::RotateUp |
( |
const float |
angle | ) |
const |
|
pure virtual |
Rotates up by angle. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
angle | is the rotation angle. |
virtual void luxcore::Camera::Translate |
( |
const float |
x, |
|
|
const float |
y, |
|
|
const float |
z |
|
) |
| const |
|
pure virtual |
Translates by vector t. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
t | is the translation vector. |
virtual void luxcore::Camera::TranslateBackward |
( |
const float |
t | ) |
const |
|
pure virtual |
Translates backward by t. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
t | is the translation distance. |
virtual void luxcore::Camera::TranslateForward |
( |
const float |
t | ) |
const |
|
pure virtual |
Translates forward by t. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
t | is the translation distance. |
virtual void luxcore::Camera::TranslateLeft |
( |
const float |
t | ) |
const |
|
pure virtual |
Translates left by t. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
t | is the translation distance. |
virtual void luxcore::Camera::TranslateRight |
( |
const float |
t | ) |
const |
|
pure virtual |
Translates right by t. This method can be used only when the Scene is not in use by a RenderSession.
- Parameters
-
t | is the translation distance. |
The documentation for this class was generated from the following file: