Falcon
Public Member Functions | List of all members
CameraComponent Struct Reference

#include <CameraComponent.h>

Inheritance diagram for CameraComponent:
BasicComponent

Public Member Functions

CameraType GetType ()
 
 CameraComponent (Transform *transform)
 
 ~CameraComponent ()
 
glm::vec3 GetPos ()
 
glm::mat4 GetViewMatrix () const
 
void SetCamera (CameraType type)
 
void Update (float dt)
 
void TranslateCamera (Camera_Move direction)
 
void RotateCamera (glm::vec2 coord)
 
void UpdateVectors ()
 
void Fixed_Update ()
 
void Fixed_Chase_Update ()
 
void Free_Update ()
 
void Free_Chase_Update ()
 

Detailed Description

Structure Definition for holding data relevant for getting the view from this entity's location.

Constructor & Destructor Documentation

◆ CameraComponent()

CameraComponent::CameraComponent ( Transform transform)
inline

◆ ~CameraComponent()

CameraComponent::~CameraComponent ( )
inline

Member Function Documentation

◆ Fixed_Chase_Update()

void CameraComponent::Fixed_Chase_Update ( )
inline

◆ Fixed_Update()

void CameraComponent::Fixed_Update ( )
inline

◆ Free_Chase_Update()

void CameraComponent::Free_Chase_Update ( )
inline

◆ Free_Update()

void CameraComponent::Free_Update ( )
inline

◆ GetPos()

glm::vec3 CameraComponent::GetPos ( )
inline

◆ GetType()

CameraType CameraComponent::GetType ( )
inline

◆ GetViewMatrix()

glm::mat4 CameraComponent::GetViewMatrix ( ) const
inline

◆ RotateCamera()

void CameraComponent::RotateCamera ( glm::vec2  coord)
inline

◆ SetCamera()

void CameraComponent::SetCamera ( CameraType  type)
inline

◆ TranslateCamera()

void CameraComponent::TranslateCamera ( Camera_Move  direction)
inline

◆ Update()

void CameraComponent::Update ( float  dt)
inline

◆ UpdateVectors()

void CameraComponent::UpdateVectors ( )
inline

The documentation for this struct was generated from the following file: