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. | |
Public Attributes | |
| double | fov {75} |
| Camera frustum vertical field of view. | |
| double | aspect {1} |
| Camera frustum aspect ratio. | |
| double | near {.01} |
| Camera frustum near plane. | |
| double | far {100} |
| Camera frustum far plane. | |
| double | zoom {1} |
| The zoom factor of the camera. | |
| 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.