VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::Camera Class Reference

Camera class Classic layout with position, rotation and projection matrices. More...

#include <Camera.h>

+ Inheritance diagram for venom::common::Camera:

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)
 
PluginObjectImplWrapperoperator= (const PluginObjectImplWrapper &other)
 
 PluginObjectImplWrapper (PluginObjectImplWrapper &&other)
 
PluginObjectImplWrapperoperator= (PluginObjectImplWrapper &&other)
 
PluginObjectImplGetImpl ()
 
const PluginObjectImplGetImpl () const
 
const PluginObjectImplGetConstImpl () const
 
bool IsImplInitialized () const
 
void Destroy ()
 

Static Public Member Functions

static void SetMainCamera (const Camera &camera)
 
static CameraGetMainCamera ()
 

Additional Inherited Members

- Protected Attributes inherited from venom::common::PluginObjectImplWrapper
PluginObjectImpl_impl
 

Detailed Description

Camera class Classic layout with position, rotation and projection matrices.


The documentation for this class was generated from the following files: