47 #ifndef _MIRA_MATERIAL_H_ 48 #define _MIRA_MATERIAL_H_ 52 namespace mira {
namespace model {
62 template<
typename Reflector>
65 r.member(
"Name", name,
"The name of the material");
66 r.member(
"Color", color,
"The color",
Color::RGBA(1.0f, 1.0f, 1.0f, 1.0f));
67 r.member(
"Texture", texture,
"The texture",
"");
std::string name
Name of the material.
Definition: Material.h:70
void reflect(Reflector &r)
Definition: Material.h:63
boost::shared_ptr< Material > MaterialPtr
Pointer to a material.
Definition: Material.h:76
Material class used for coloring and texturing rigid model parts (links)
Definition: Material.h:59
Color::RGBA color
Optional color of the material.
Definition: Material.h:71
std::string texture
Optional texture name.
Definition: Material.h:72
#define MIRA_RIGID_MODEL_EXPORT
Definition: RigidModelExports.h:61