Hymn to Beauty
C++ 3D Engine
GUI::AssetEditor Class Reference

Used to edit models. More...

#include <AssetEditor.hpp>

Public Member Functions

 AssetEditor ()
 Constructor. More...
 
void Show ()
 Show the editor. More...
 
const Geometry::ModelGetModel () const
 Get the model being edited. More...
 
void SetModel (Geometry::Model *model)
 Set the model to edit. More...
 
bool IsVisible () const
 Get whether the window is visible. More...
 
void SetVisible (bool visible)
 Set whether the window should be visible. More...
 

Detailed Description

Used to edit models.

Constructor & Destructor Documentation

◆ AssetEditor()

AssetEditor::AssetEditor ( )

Constructor.

Member Function Documentation

◆ GetModel()

const Geometry::Model * AssetEditor::GetModel ( ) const

Get the model being edited.

Returns
The model being edited.

◆ IsVisible()

bool AssetEditor::IsVisible ( ) const

Get whether the window is visible.

Returns
Whether the window is visible.

◆ SetModel()

void AssetEditor::SetModel ( Geometry::Model model)

Set the model to edit.

Parameters
modelModel to edit.

◆ SetVisible()

void AssetEditor::SetVisible ( bool  visible)

Set whether the window should be visible.

Parameters
visibleWhether the window should be visible.

◆ Show()

void AssetEditor::Show ( )

Show the editor.


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