|
| MaterialTree (QWidget *parent=nullptr) |
|
void | refresh () |
|
|
virtual void | mousePressEvent (QMouseEvent *event) override |
|
void | populateTree () |
|
void | splitMapping (std::string const &mapping, std::string &path, std::string &name) |
|
MaterialTreeItem * | createParent (std::string const &parentPath) |
|
void Ocular::Editor::MaterialTree::refresh |
( |
| ) |
|
Refreshes the list of materials.
void Ocular::Editor::MaterialTree::splitMapping |
( |
std::string const & |
mapping, |
|
|
std::string & |
path, |
|
|
std::string & |
name |
|
) |
| |
|
protected |
Splits a material mapping into a path and name. Example:
OcularCore/Materials/Default
Path: OcularCore/Materials
Name: Default
The documentation for this class was generated from the following files:
- C:/Projects/OcularEngine/OcularEditor/include/Widgets/MaterialEditor/MaterialTree.hpp
- C:/Projects/OcularEngine/OcularEditor/src/Widgets/MaterialEditor/MaterialTree.cpp