Drake
Drake C++ Documentation
Meshcat::OrthographicCamera Struct Reference

Detailed Description

Properties for an orthographic camera in three.js: https://threejs.org/docs/#api/en/cameras/OrthographicCamera.

#include <drake/geometry/meshcat.h>

Public Member Functions

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

Public Attributes

double left {-1}
 Camera frustum left plane. More...
 
double right {1}
 Camera frustum right plane. More...
 
double top {-1}
 Camera frustum top plane. More...
 
double bottom {1}
 Camera frustum bottom plane. More...
 
double near {-1000}
 Camera frustum near plane. More...
 
double far {1000}
 Camera frustum far plane. More...
 
double zoom {1}
 The zoom factor of the camera. More...
 

Member Function Documentation

◆ Serialize()

void Serialize ( Archive *  a)

Passes this object to an Archive.

Refer to YAML Serialization for background.

Member Data Documentation

◆ bottom

double bottom {1}

Camera frustum bottom plane.

◆ far

double far {1000}

Camera frustum far plane.

◆ left

double left {-1}

Camera frustum left plane.

◆ near

double near {-1000}

Camera frustum near plane.

◆ right

double right {1}

Camera frustum right plane.

◆ top

double top {-1}

Camera frustum top plane.

◆ zoom

double zoom {1}

The zoom factor of the camera.


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