![]() |
Tesseract 0.28.4
|
Public Types | |
| using | Ptr = std::shared_ptr<Material> |
| using | ConstPtr = std::shared_ptr<const Material> |
Static Public Member Functions | |
| static std::shared_ptr< Material > | getDefaultMaterial () |
| Get a new instance of the default material. | |
Public Attributes | |
| std::string | texture_filename |
| Eigen::Vector4d | color |
Friends | |
| template<class Archive> | |
| friend | void::tesseract::scene_graph::serialize (Archive &ar, Material &obj) |
|
static |
Get a new instance of the default material.
Each call returns a distinct object, so two Visuals constructed independently do not share one. Copying a Visual still shares its material with the copy.