Properties for a perspective camera in three.js: https://threejs.org/docs/#api/en/cameras/PerspectiveCamera.
#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 | fov {75} |
Camera frustum vertical field of view. More... | |
double | aspect {1} |
Camera frustum aspect ratio. More... | |
double | near {.01} |
Camera frustum near plane. More... | |
double | far {100} |
Camera frustum far plane. More... | |
double | zoom {1} |
The zoom factor of the camera. More... | |
void Serialize | ( | Archive * | a | ) |
Passes this object to an Archive.
Refer to YAML Serialization for background.
double aspect {1} |
Camera frustum aspect ratio.
double far {100} |
Camera frustum far plane.
double fov {75} |
Camera frustum vertical field of view.
double near {.01} |
Camera frustum near plane.
double zoom {1} |
The zoom factor of the camera.