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

Rendering window that hosts the engine viewport. More...

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

Inheritance diagram for AeonGames::EngineWindow:
Inheritance graph
Collaboration diagram for AeonGames::EngineWindow:
Collaboration graph

Public Member Functions

 EngineWindow (QWindow *parent=nullptr)
 Construct the engine window.
 ~EngineWindow ()
 Destructor.
void stop ()
 Stop the rendering loop.
void start ()
 Start the rendering loop.
void setScene (const Scene *aScene)
 Set the scene to render.
void SetFieldOfView (float aFieldOfView)
 Set the camera field of view.
void SetNear (float aNear)
 Set the near clipping plane distance.
void SetFar (float aFar)
 Set the far clipping plane distance.

Detailed Description

Rendering window that hosts the engine viewport.

Definition at line 41 of file EngineWindow.h.

Constructor & Destructor Documentation

◆ EngineWindow()

AeonGames::EngineWindow::EngineWindow ( QWindow * parent = nullptr)

Construct the engine window.

Parameters
parentParent window.

Definition at line 38 of file EngineWindow.cpp.

◆ ~EngineWindow()

AeonGames::EngineWindow::~EngineWindow ( )

Destructor.

Definition at line 108 of file EngineWindow.cpp.

Member Function Documentation

◆ SetFar()

void AeonGames::EngineWindow::SetFar ( float aFar)

Set the far clipping plane distance.

Parameters
aFarFar plane distance.

Definition at line 156 of file EngineWindow.cpp.

◆ SetFieldOfView()

void AeonGames::EngineWindow::SetFieldOfView ( float aFieldOfView)

Set the camera field of view.

Parameters
aFieldOfViewField of view in degrees.

Definition at line 142 of file EngineWindow.cpp.

◆ SetNear()

void AeonGames::EngineWindow::SetNear ( float aNear)

Set the near clipping plane distance.

Parameters
aNearNear plane distance.

Definition at line 149 of file EngineWindow.cpp.

◆ setScene()

void AeonGames::EngineWindow::setScene ( const Scene * aScene)

Set the scene to render.

Parameters
aScenePointer to the scene, or nullptr to clear.

Definition at line 138 of file EngineWindow.cpp.

◆ start()

void AeonGames::EngineWindow::start ( )

Start the rendering loop.

Definition at line 129 of file EngineWindow.cpp.

◆ stop()

void AeonGames::EngineWindow::stop ( )

Stop the rendering loop.

Definition at line 120 of file EngineWindow.cpp.


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