Material switcher for the model editor used to toggle the material of the model. More...
#include <EditorMaterialSwitcher.hh>
Public Member Functions | |
| EditorMaterialSwitcher (const rendering::CameraPtr &_camera) | |
| Constructor.  More... | |
| ~EditorMaterialSwitcher ()=default | |
| Destructor.  More... | |
| std::string | MaterialScheme () const | 
| Get the material scheme applied to the models in the editor.  More... | |
| void | SetMaterialScheme (const std::string &_scheme) | 
| Set the material scheme that will be applied to the models in the editor.  More... | |
Material switcher for the model editor used to toggle the material of the model.
| EditorMaterialSwitcher | ( | const rendering::CameraPtr & | _camera | ) | 
Constructor.
| [in] | _camera | Pointer to the camera whose viewport will be updated to see the effect of the material switch. | 
      
  | 
  default | 
Destructor.
| std::string MaterialScheme | ( | ) | const | 
Get the material scheme applied to the models in the editor.
| void SetMaterialScheme | ( | const std::string & | _scheme | ) | 
Set the material scheme that will be applied to the models in the editor.
| [in] | _scheme | Name of material scheme |