CG-Project2
Loading...
Searching...
No Matches
CameraComponent Class Reference

Component to store data of a ogl::Camera. More...

#include <Component.hpp>

Inheritance diagram for CameraComponent:
Collaboration diagram for CameraComponent:

Public Member Functions

 CameraComponent ()=default
 Instances basic Component to query the ECS when needed.

Public Attributes

Shared< ogl::Cameracamera {}
 shared pointer to the ogl::Camera object

Detailed Description

Component to store data of a ogl::Camera.

It allows the ECS to interact with the camera in the scene. For example it can be showed in an ImGuiPanel and the user can modify the internal parameters from there.


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