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

#include <visualization_meshcat_types.h>

Collaboration diagram for exotica::visualization::Material:
Collaboration graph

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

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

Constructor & Destructor Documentation

◆ Material() [1/2]

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

◆ Material() [2/2]

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

Member Function Documentation

◆ MSGPACK_DEFINE()

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

Member Data Documentation

◆ ambient

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

◆ color

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

◆ emissive

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

◆ opacity

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

◆ shininess

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

◆ specular

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

◆ transparent

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

◆ type

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

◆ uuid

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

◆ wireframe

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

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