All informations related to material are stored here. More...
#include <pinocchio/parsers/mjcf/mjcf-graph.hpp>
Public Types | |
| typedef boost::property_tree::ptree | ptree |
Public Member Functions | |
| void | goThroughElement (const ptree &el) |
| Go through a ptree node to look for material tag related. More... | |
Public Attributes | |
| float | emission = 0 |
| float | reflectance = 0 |
| Eigen::Vector4d | rgba = Eigen::Vector4d::Constant(1) |
| float | shininess = 0.5 |
| float | specular = 0.5 |
| std::string | texture |
All informations related to material are stored here.
Definition at line 228 of file mjcf-graph.hpp.
| void goThroughElement | ( | const ptree & | el | ) |
Go through a ptree node to look for material tag related.
| el | ptree material node |