Ocular Engine
Ocular::Editor::MaterialPropertiesDisplayBox Class Reference
Inheritance diagram for Ocular::Editor::MaterialPropertiesDisplayBox:
Ocular::Editor::PropertiesDisplayBox Ocular::Editor::RenderStatesDisplayBox Ocular::Editor::ShadersDisplayBox Ocular::Editor::TexturesDisplayBox Ocular::Editor::UniformsDisplayBox

Public Member Functions

 MaterialPropertiesDisplayBox (std::string const &displayName, QWidget *parent)
 
virtual void setObject (Core::SceneObject *object) override
 
virtual void setMaterial (Graphics::Material *material)
 
virtual void updateProperties () override
 
virtual void onApply ()
 
- Public Member Functions inherited from Ocular::Editor::PropertiesDisplayBox
 PropertiesDisplayBox (std::string const &displayName, bool canMinimize=true, bool canClose=false, QWidget *parent=nullptr)
 
virtual QSize sizeHint () const override
 
void setTitle (std::string const &title)
 

Protected Member Functions

void releaseProperties ()
 
- Protected Member Functions inherited from Ocular::Editor::PropertiesDisplayBox
void buildLayout ()
 
void buildTitleBar (std::string const &displayName, bool canMinimize, bool canClsoe)
 

Protected Attributes

std::vector< PropertyWidget * > m_Properties
 
Graphics::Materialm_Material
 
- Protected Attributes inherited from Ocular::Editor::PropertiesDisplayBox
QVBoxLayout * m_Layout
 
Core::SceneObjectm_Object
 
PropertiesDisplayTitleBarm_TitleBar
 

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