Runtime editor utility allowing the user to pick, move, and save mesh transformations.
More...
#include <levelEditor.h>
Runtime editor utility allowing the user to pick, move, and save mesh transformations.
◆ LevelEditor()
| copakond::LevelEditor::LevelEditor |
( |
Scene * | scene | ) |
|
|
inline |
◆ getEditAxe()
| EditAxe copakond::LevelEditor::getEditAxe |
( |
| ) |
const |
|
inline |
◆ getEditMode()
| EditMode copakond::LevelEditor::getEditMode |
( |
| ) |
const |
|
inline |
◆ onKeyboardEvent()
| void copakond::LevelEditor::onKeyboardEvent |
( |
unsigned char | key, |
|
|
int | x, |
|
|
int | y, |
|
|
bool | isDown ) |
Handles transformation switching and applying delta modifications.
◆ onMouseWheelEvent()
| void copakond::LevelEditor::onMouseWheelEvent |
( |
int | wheel, |
|
|
int | direction, |
|
|
int | x, |
|
|
int | y ) |
◆ onObjectClickedEvent()
| void copakond::LevelEditor::onObjectClickedEvent |
( |
int | id | ) |
|
Selects an object based on stencil buffer ID.
◆ saveSnapshot()
| void copakond::LevelEditor::saveSnapshot |
( |
std::string | filename = "meshes.txt" | ) |
|
Exports modified mesh transformations to a text file.
◆ undo()
| void copakond::LevelEditor::undo |
( |
| ) |
|
The documentation for this class was generated from the following files: