Public Member Functions | Public Attributes | List of all members
exotica::visualization::Material Struct Reference

#include <visualization_meshcat_types.h>

Public Member Functions

 Material (long color_in, double opacity_in=1.0, const std::string &type_in="MeshPhongMaterial", const std::string &uuid_in="")
 
 Material ()
 
 MSGPACK_DEFINE (uuid, type, color, ambient, emissive, specular, shininess, opacity, transparent, wireframe)
 

Public Attributes

long ambient = 0
 
long color = 16777215
 
long emissive = 0
 
double opacity = 1.0
 
double shininess = 30.0
 
long specular = 1118481
 
bool transparent = false
 
std::string type = "MeshPhongMaterial"
 
std::string uuid = ""
 
bool wireframe = false
 

Detailed Description

Definition at line 116 of file visualization_meshcat_types.h.

Constructor & Destructor Documentation

exotica::visualization::Material::Material ( long  color_in,
double  opacity_in = 1.0,
const std::string &  type_in = "MeshPhongMaterial",
const std::string &  uuid_in = "" 
)
inline

Definition at line 118 of file visualization_meshcat_types.h.

exotica::visualization::Material::Material ( )
inline

Definition at line 122 of file visualization_meshcat_types.h.

Member Function Documentation

exotica::visualization::Material::MSGPACK_DEFINE ( uuid  ,
type  ,
color  ,
ambient  ,
emissive  ,
specular  ,
shininess  ,
opacity  ,
transparent  ,
wireframe   
)

Member Data Documentation

long exotica::visualization::Material::ambient = 0

Definition at line 129 of file visualization_meshcat_types.h.

long exotica::visualization::Material::color = 16777215

Definition at line 128 of file visualization_meshcat_types.h.

long exotica::visualization::Material::emissive = 0

Definition at line 130 of file visualization_meshcat_types.h.

double exotica::visualization::Material::opacity = 1.0

Definition at line 133 of file visualization_meshcat_types.h.

double exotica::visualization::Material::shininess = 30.0

Definition at line 132 of file visualization_meshcat_types.h.

long exotica::visualization::Material::specular = 1118481

Definition at line 131 of file visualization_meshcat_types.h.

bool exotica::visualization::Material::transparent = false

Definition at line 134 of file visualization_meshcat_types.h.

std::string exotica::visualization::Material::type = "MeshPhongMaterial"

Definition at line 127 of file visualization_meshcat_types.h.

std::string exotica::visualization::Material::uuid = ""

Definition at line 126 of file visualization_meshcat_types.h.

bool exotica::visualization::Material::wireframe = false

Definition at line 135 of file visualization_meshcat_types.h.


The documentation for this struct was generated from the following file:


exotica_core
Author(s): Yiming Yang, Michael Camilleri
autogenerated on Sat Apr 10 2021 02:34:50