sculpto
Main Page
Namespaces
Classes
Files
File List
File Members
core
components
camera_component.h
Go to the documentation of this file.
1
/*!****************************************************************/
/*!*
2
* \file camera_component.h
3
* \brief Application scene system object camera component class implementation module.
4
*
5
* \author Sabitov Kirill
6
* \date 02 July 2022
7
*********************************************************************/
8
9
#pragma once
10
11
#include "
core/resources/camera.h
"
12
13
namespace
scl
14
{
16
struct
camera_component
17
{
19
camera
Camera
{
camera_projection_type::PERSPECTIVE
};
24
bool
IsPrimary
{
false
};
25
26
camera_component
() =
default
;
27
camera_component
(
const
camera_component
&Other) =
default
;
28
camera_component
(
const
camera
&
Camera
,
bool
IsPrimary
=
false
) :
29
Camera
(
Camera
),
IsPrimary
(
IsPrimary
) {}
30
~camera_component
() =
default
;
31
};
32
}
camera.h
Renderer virtual camer class definiton module.
scl::camera
Definition:
camera.h:42
scl
Definition:
base.h:33
scl::camera_projection_type::PERSPECTIVE
@ PERSPECTIVE
scl::camera_component
Definition:
camera_component.h:17
scl::camera_component::IsPrimary
bool IsPrimary
Definition:
camera_component.h:24
scl::camera_component::camera_component
camera_component(const camera &Camera, bool IsPrimary=false)
Definition:
camera_component.h:28
scl::camera_component::camera_component
camera_component(const camera_component &Other)=default
scl::camera_component::Camera
camera Camera
Definition:
camera_component.h:19
scl::camera_component::camera_component
camera_component()=default
scl::camera_component::~camera_component
~camera_component()=default
Generated by
1.9.4