Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
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.

Public Attributes

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

Member Function Documentation

◆ Serialize()

template<typename Archive>
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: