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 _GUI (const Entity entity) override
 
void Init (Entity entity) override
 
void Update (Entity entity) override
 
bool CanRemove (Entity entity) override
 
vc::String _GetComponentTitle () override
 
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 SetRawRotation (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
 
vcm::Vec3 GetForwardVector () const
 
vcm::Vec3 GetUpVector () const
 
vcm::Vec3 GetRightVector () const
 
void RotateAround (const vcm::Vec3 &target, const vcm::Vec3 &planeNormal, float angle)
 
const vcm::Mat4 & GetViewMatrix () const
 
vcm::Mat4 & GetViewMatrixMut ()
 
void SetPerspective (float fovY, float aspectRatio, float nearPlane, float farPlane)
 
const vcm::Mat4 & GetProjectionMatrix () const
 
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)
 
void SetFocusEntity (vc::Entity entity)
 
vc::Entity GetFocusEntity () const
 
void RemoveFocusEntity ()
 
- Public Member Functions inherited from venom::common::VenomComponent
vc::String GetComponentTitle ()
 
- 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.

Member Function Documentation

◆ _GetComponentTitle()

vc::String venom::common::Camera::_GetComponentTitle ( )
overridevirtual

◆ _GUI()

void venom::common::Camera::_GUI ( const Entity entity)
overridevirtual

◆ CanRemove()

bool venom::common::Camera::CanRemove ( Entity entity)
overridevirtual

◆ Init()

void venom::common::Camera::Init ( Entity entity)
overridevirtual

Reimplemented from venom::common::VenomComponent.

◆ Update()

void venom::common::Camera::Update ( Entity entity)
overridevirtual

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