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

#include <visualization_meshcat_types.h>

Public Member Functions

 Material ()
 
 Material (long color_in, double opacity_in=1.0, const std::string &type_in="MeshPhongMaterial", const std::string &uuid_in="")
 
 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

◆ 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

Definition at line 118 of file visualization_meshcat_types.h.

◆ Material() [2/2]

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

Definition at line 122 of file visualization_meshcat_types.h.

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

Definition at line 129 of file visualization_meshcat_types.h.

◆ color

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

Definition at line 128 of file visualization_meshcat_types.h.

◆ emissive

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

Definition at line 130 of file visualization_meshcat_types.h.

◆ opacity

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

Definition at line 133 of file visualization_meshcat_types.h.

◆ shininess

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

Definition at line 132 of file visualization_meshcat_types.h.

◆ specular

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

Definition at line 131 of file visualization_meshcat_types.h.

◆ transparent

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

Definition at line 134 of file visualization_meshcat_types.h.

◆ type

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

Definition at line 127 of file visualization_meshcat_types.h.

◆ uuid

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

Definition at line 126 of file visualization_meshcat_types.h.

◆ wireframe

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 Fri Aug 2 2024 08:43:03