VenomEngine
Cross-Platform Modern Graphics Engine
|
Camera class Classic layout with position, rotation and projection matrices. More...
#include <Camera.h>
Public Member Functions | |
void | SetPosition (const vcm::Vec3 &position) |
void | Move (const vcm::Vec3 &delta) |
void | MoveForward (const float delta) |
void | MoveRight (const float delta) |
void | MoveUp (const float delta) |
const vcm::Vec3 & | GetPosition () const |
void | SetYaw (float angle) |
void | SetPitch (float angle) |
void | SetRoll (float angle) |
void | SetRotation (const vcm::Vec3 &rotation) |
void | RotateYaw (float angle) |
void | RotatePitch (float angle) |
void | RotateRoll (float angle) |
void | Rotate (const vcm::Vec3 &rotation) |
const vcm::Quat & | GetRotationQuat () const |
const vcm::Vec3 & | GetRotation () const |
const vcm::Mat4 & | GetViewMatrix () |
void | SetPerspective (float fovY, float aspectRatio, float nearPlane, float farPlane) |
const vcm::Mat4 & | GetProjectionMatrix () |
void | SetFieldOfView (float fovY) |
float | GetFieldOfView () const |
void | SetAspectRatio (float aspectRatio) |
float | GetAspectRatio () const |
void | SetNearPlane (float nearPlane) |
float | GetNearPlane () const |
void | SetFarPlane (float farPlane) |
float | GetFarPlane () const |
void | LookAt (const vcm::Vec3 &target) |
vcm::Vec3 | GetForwardVector () const |
vcm::Vec3 | GetUpVector () const |
vcm::Vec3 | GetRightVector () const |
void | RotateAround (const vcm::Vec3 &target, const vcm::Vec3 &planeNormal, float angle) |
Public Member Functions inherited from venom::common::PluginObjectImplWrapper | |
PluginObjectImplWrapper (PluginObjectImpl *impl) | |
PluginObjectImplWrapper (const PluginObjectImplWrapper &other) | |
PluginObjectImplWrapper & | operator= (const PluginObjectImplWrapper &other) |
PluginObjectImplWrapper (PluginObjectImplWrapper &&other) | |
PluginObjectImplWrapper & | operator= (PluginObjectImplWrapper &&other) |
PluginObjectImpl * | GetImpl () |
const PluginObjectImpl * | GetImpl () const |
const PluginObjectImpl * | GetConstImpl () const |
bool | IsImplInitialized () const |
void | Destroy () |
Static Public Member Functions | |
static void | SetMainCamera (const Camera &camera) |
static Camera * | GetMainCamera () |
Additional Inherited Members | |
Protected Attributes inherited from venom::common::PluginObjectImplWrapper | |
PluginObjectImpl * | _impl |
Camera class Classic layout with position, rotation and projection matrices.