Construction parameters for RenderEngineGl.
#include <drake/geometry/render_gl/render_engine_gl_params.h>
Public Member Functions | |
template<typename Archive > | |
void | Serialize (Archive *a) |
Passes this object to an Archive. More... | |
Public Attributes | |
Rgba | default_diffuse {0.9, 0.7, 0.2, 1.0} |
Default diffuse color to apply to a geometry when none is otherwise specified in the (phong, diffuse) property. More... | |
Rgba | default_clear_color {204 / 255., 229 / 255., 255 / 255., 1.0} |
The default background color for color images. More... | |
std::vector< render::LightParameter > | lights |
Lights in the scene. More... | |
void Serialize | ( | Archive * | a | ) |
Passes this object to an Archive.
Refer to YAML Serialization for background.
Rgba default_clear_color {204 / 255., 229 / 255., 255 / 255., 1.0} |
The default background color for color images.
Rgba default_diffuse {0.9, 0.7, 0.2, 1.0} |
Default diffuse color to apply to a geometry when none is otherwise specified in the (phong, diffuse) property.
std::vector<render::LightParameter> lights |
Lights in the scene.
More than five lights is an error. If no lights are defined, a single directional light, fixed to the camera frame, is used.