Drake
Drake C++ Documentation
MeshcatParams::PropertyTuple Struct Reference

Detailed Description

A helper struct for the initial_properties params.

The members follow the same semantics as calls to Meshcat::SetProperty(path, property, value).

#include <drake/geometry/meshcat_params.h>

Public Member Functions

template<typename Archive >
void Serialize (Archive *a)
 Passes this object to an Archive. More...
 

Public Attributes

std::string path
 
std::string property
 
std::variant< std::vector< double >, std::string, bool, doublevalue
 

Member Function Documentation

◆ Serialize()

void Serialize ( Archive *  a)

Passes this object to an Archive.

Refer to YAML Serialization for background.

Member Data Documentation

◆ path

std::string path

◆ property

std::string property

◆ value

std::variant<std::vector<double>, std::string, bool, double> value

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