Nameless Engine
Loading...
Searching...
No Matches
ne::CameraProperties::Data Struct Reference

#include <CameraProperties.h>

Classes

struct  OrbitalModeData
 
struct  ProjectionData
 
struct  ViewData
 

Public Attributes

ViewData viewData
 
ProjectionData projectionData
 
Frustum frustum
 
CameraMode currentCameraMode = CameraMode::FREE
 
OrbitalModeData orbitalModeData
 

Static Public Attributes

static const float minimumClipPlaneDistance = 0.00001F
 

Detailed Description

Stores internal data.

Member Data Documentation

◆ currentCameraMode

CameraMode ne::CameraProperties::Data::currentCameraMode = CameraMode::FREE

Defines how camera can move and rotate.

◆ frustum

Frustum ne::CameraProperties::Data::frustum

Camera's frustum.

◆ minimumClipPlaneDistance

const float ne::CameraProperties::Data::minimumClipPlaneDistance = 0.00001F
inlinestatic

Minimum allowed value for near clip plane distance and far clip plane distance.

◆ orbitalModeData

OrbitalModeData ne::CameraProperties::Data::orbitalModeData

Parameters used by orbital camera mode.

◆ projectionData

ProjectionData ne::CameraProperties::Data::projectionData

Contains a flag the indicates whether projection matrix needs to be recalculated or not and a matrix that transforms positions from view (camera) space to 2D projection window (homogeneous clip space).

Remarks
The bool variable is used to minimize the amount of times we recalculate projection matrix.

◆ viewData

ViewData ne::CameraProperties::Data::viewData

Contains a flag the indicates whether view matrix needs to be recalculated or not and a matrix that transforms positions to view (camera) space.

Remarks
The bool variable is used to minimize the amount of times we recalculate view matrix.

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