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

Widget for editing and managing a scene and its node hierarchy. More...

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

Inheritance diagram for AeonGames::SceneWindow:
Inheritance graph
Collaboration diagram for AeonGames::SceneWindow:
Collaboration graph

Public Member Functions

 SceneWindow (QWidget *parent=Q_NULLPTR, Qt::WindowFlags f=Qt::WindowFlags())
 Construct the scene window widget.
virtual ~SceneWindow ()
 Destructor.
void Open (const std::string &mFilename)
 Open a scene file.
void Save (const std::string &mFilename) const
 Save the scene to a file.
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.

Protected Member Functions

void closeEvent (QCloseEvent *event) override
 Handle window close events.

Detailed Description

Widget for editing and managing a scene and its node hierarchy.

Definition at line 32 of file SceneWindow.h.

Constructor & Destructor Documentation

◆ SceneWindow()

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

Construct the scene window widget.

Parameters
parentParent widget.
fWindow flags.

Definition at line 42 of file SceneWindow.cpp.

Member Function Documentation

◆ closeEvent()

void AeonGames::SceneWindow::closeEvent ( QCloseEvent * event)
overrideprotected

Handle window close events.

Definition at line 367 of file SceneWindow.cpp.

◆ Open()

void AeonGames::SceneWindow::Open ( const std::string & mFilename)

Open a scene file.

Parameters
mFilenamePath to the scene file.

Definition at line 339 of file SceneWindow.cpp.

◆ Save()

void AeonGames::SceneWindow::Save ( const std::string & mFilename) const

Save the scene to a file.

Parameters
mFilenamePath to the output file.

Definition at line 348 of file SceneWindow.cpp.

◆ SetFar()

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

Set the far clipping plane distance.

Parameters
aFarFar plane distance.

Definition at line 363 of file SceneWindow.cpp.

◆ SetFieldOfView()

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

Set the camera field of view.

Parameters
aFieldOfViewField of view in degrees.

Definition at line 355 of file SceneWindow.cpp.

◆ SetNear()

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

Set the near clipping plane distance.

Parameters
aNearNear plane distance.

Definition at line 359 of file SceneWindow.cpp.


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