Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
AeonGames::WorldEditor Class Referencefinal

Main application class for the world editor. More...

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

Inheritance diagram for AeonGames::WorldEditor:
Inheritance graph
Collaboration diagram for AeonGames::WorldEditor:
Collaboration graph

Public Member Functions

 WorldEditor (int &argc, char *argv[])
 Construct the world editor application.
 ~WorldEditor () final
 Destructor.
const PipelineGetGridPipeline () const
 Get the grid rendering pipeline.
const MeshGetGridMesh () const
 Get the grid mesh.
const MaterialGetXGridMaterial () const
 Get the X-axis grid material.
const MaterialGetYGridMaterial () const
 Get the Y-axis grid material.
const PipelineGetSolidColorPipeline () const
 Get the solid color rendering pipeline.
const MaterialGetSolidColorMaterial () const
 Get the solid color material.
const MeshGetAABBWireMesh () const
 Get the axis-aligned bounding box wireframe mesh.
int GetStringIdMetaType () const
 Get the Qt meta-type ID for StringId.
int GetStringMetaType () const
 Get the Qt meta-type ID for std::string.
int GetPathMetaType () const
 Get the Qt meta-type ID for std::filesystem::path.
void AttachWindowToRenderer (void *aWindow)
 Attach a native window to the renderer.
void DetachWindowFromRenderer (void *aWindow)
 Detach a native window from the renderer.
RendererGetRenderer ()
 Get the current renderer.

Detailed Description

Main application class for the world editor.

Definition at line 38 of file WorldEditor.h.

Constructor & Destructor Documentation

◆ WorldEditor()

AeonGames::WorldEditor::WorldEditor ( int & argc,
char * argv[] )

Construct the world editor application.

Parameters
argcArgument count.
argvArgument vector.

Definition at line 110 of file WorldEditor.cpp.

◆ ~WorldEditor()

AeonGames::WorldEditor::~WorldEditor ( )
final

Destructor.

Definition at line 260 of file WorldEditor.cpp.

Member Function Documentation

◆ AttachWindowToRenderer()

void AeonGames::WorldEditor::AttachWindowToRenderer ( void * aWindow)

Attach a native window to the renderer.

Parameters
aWindowNative window handle.

Definition at line 272 of file WorldEditor.cpp.

◆ DetachWindowFromRenderer()

void AeonGames::WorldEditor::DetachWindowFromRenderer ( void * aWindow)

Detach a native window from the renderer.

Parameters
aWindowNative window handle.

Definition at line 283 of file WorldEditor.cpp.

◆ GetAABBWireMesh()

const Mesh & AeonGames::WorldEditor::GetAABBWireMesh ( ) const

Get the axis-aligned bounding box wireframe mesh.

Returns
Reference to the AABB wire mesh.

Definition at line 53 of file WorldEditor.cpp.

◆ GetGridMesh()

const Mesh & AeonGames::WorldEditor::GetGridMesh ( ) const

Get the grid mesh.

Returns
Reference to the grid mesh.

Definition at line 33 of file WorldEditor.cpp.

◆ GetGridPipeline()

const Pipeline & AeonGames::WorldEditor::GetGridPipeline ( ) const

Get the grid rendering pipeline.

Returns
Reference to the grid pipeline.

Definition at line 29 of file WorldEditor.cpp.

◆ GetPathMetaType()

int AeonGames::WorldEditor::GetPathMetaType ( ) const

Get the Qt meta-type ID for std::filesystem::path.

Returns
Meta-type identifier.

Definition at line 68 of file WorldEditor.cpp.

◆ GetRenderer()

Renderer * AeonGames::WorldEditor::GetRenderer ( )

Get the current renderer.

Returns
Pointer to the renderer, or nullptr if none.

Definition at line 73 of file WorldEditor.cpp.

◆ GetSolidColorMaterial()

const Material & AeonGames::WorldEditor::GetSolidColorMaterial ( ) const

Get the solid color material.

Returns
Reference to the solid color material.

Definition at line 49 of file WorldEditor.cpp.

◆ GetSolidColorPipeline()

const Pipeline & AeonGames::WorldEditor::GetSolidColorPipeline ( ) const

Get the solid color rendering pipeline.

Returns
Reference to the solid color pipeline.

Definition at line 45 of file WorldEditor.cpp.

◆ GetStringIdMetaType()

int AeonGames::WorldEditor::GetStringIdMetaType ( ) const

Get the Qt meta-type ID for StringId.

Returns
Meta-type identifier.

Definition at line 58 of file WorldEditor.cpp.

◆ GetStringMetaType()

int AeonGames::WorldEditor::GetStringMetaType ( ) const

Get the Qt meta-type ID for std::string.

Returns
Meta-type identifier.

Definition at line 63 of file WorldEditor.cpp.

◆ GetXGridMaterial()

const Material & AeonGames::WorldEditor::GetXGridMaterial ( ) const

Get the X-axis grid material.

Returns
Reference to the X grid material.

Definition at line 37 of file WorldEditor.cpp.

◆ GetYGridMaterial()

const Material & AeonGames::WorldEditor::GetYGridMaterial ( ) const

Get the Y-axis grid material.

Returns
Reference to the Y grid material.

Definition at line 41 of file WorldEditor.cpp.


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