Struct MjcfMaterial

Struct Documentation

struct MjcfMaterial

All informations related to material are stored here.

Public Types

typedef boost::property_tree::ptree ptree

Public Functions

void goThroughElement(const ptree &el)

Go through a ptree node to look for material tag related.

Parameters:

el – ptree material node

Public Members

Eigen::Vector4d rgba = Eigen::Vector4d::Constant(1)
float reflectance = 0
float shininess = 0.5
float specular = 0.5
float emission = 0
std::string texture