sculpto
|
#include <camera_component.h>
Public Member Functions | |
camera_component ()=default | |
camera_component (const camera_component &Other)=default | |
camera_component (const camera &Camera, bool IsPrimary=false) | |
~camera_component ()=default | |
Public Attributes | |
camera | Camera { camera_projection_type::PERSPECTIVE } |
bool | IsPrimary { false } |
Application scene system object camera component class.
Definition at line 16 of file camera_component.h.
|
default |
|
default |
|
inline |
Definition at line 28 of file camera_component.h.
|
default |
camera scl::camera_component::Camera { camera_projection_type::PERSPECTIVE } |
Camera component actual camera object.
Definition at line 19 of file camera_component.h.
bool scl::camera_component::IsPrimary { false } |
Flag, showing wheather camera is primary on scene. If true scene is rendered to frame buffers of this scene. If multiple cameras set as primary firest (in order of adding to scene) is used for render.
Definition at line 24 of file camera_component.h.