Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
AeonGames::CameraSettings Class Reference

Dialog for adjusting camera projection settings. More...

#include <C:/Code/AeonEngine/tools/worldeditor/CameraSettings.h>

Inheritance diagram for AeonGames::CameraSettings:
Inheritance graph
Collaboration diagram for AeonGames::CameraSettings:
Collaboration graph

Signals

void fieldOfViewChanged (double aFieldOfView)
 Emitted when the field of view changes.
void nearChanged (double aNear)
 Emitted when the near plane changes.
void farChanged (double aFar)
 Emitted when the far plane changes.

Public Member Functions

 CameraSettings (QWidget *parent=Q_NULLPTR, Qt::WindowFlags f=Qt::WindowFlags())
 Construct the camera settings dialog.
 ~CameraSettings () override
 Destructor.
float GetFieldOfView () const
 Get the field of view angle.
float GetNear () const
 Get the near clipping plane distance.
float GetFar () const
 Get the far clipping plane distance.

Detailed Description

Dialog for adjusting camera projection settings.

Definition at line 24 of file CameraSettings.h.

Constructor & Destructor Documentation

◆ CameraSettings()

AeonGames::CameraSettings::CameraSettings ( QWidget * parent = Q_NULLPTR,
Qt::WindowFlags f = Qt::WindowFlags() )

Construct the camera settings dialog.

Parameters
parentParent widget.
fWindow flags.

Definition at line 25 of file CameraSettings.cpp.

◆ ~CameraSettings()

AeonGames::CameraSettings::~CameraSettings ( )
override

Destructor.

Definition at line 37 of file CameraSettings.cpp.

Member Function Documentation

◆ farChanged

void AeonGames::CameraSettings::farChanged ( double aFar)
signal

Emitted when the far plane changes.

Parameters
aFarNew far plane value.

◆ fieldOfViewChanged

void AeonGames::CameraSettings::fieldOfViewChanged ( double aFieldOfView)
signal

Emitted when the field of view changes.

Parameters
aFieldOfViewNew field of view value.

◆ GetFar()

float AeonGames::CameraSettings::GetFar ( ) const

Get the far clipping plane distance.

Returns
Far plane distance.

Definition at line 50 of file CameraSettings.cpp.

◆ GetFieldOfView()

float AeonGames::CameraSettings::GetFieldOfView ( ) const

Get the field of view angle.

Returns
Field of view in degrees.

Definition at line 42 of file CameraSettings.cpp.

◆ GetNear()

float AeonGames::CameraSettings::GetNear ( ) const

Get the near clipping plane distance.

Returns
Near plane distance.

Definition at line 46 of file CameraSettings.cpp.

◆ nearChanged

void AeonGames::CameraSettings::nearChanged ( double aNear)
signal

Emitted when the near plane changes.

Parameters
aNearNew near plane value.

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