Skip to content

raisim::rscene::Camera ​

struct · #include <raisim/Rscene.hpp>

A camera looks along its local +X axis with local +Z up. Only cameras enabled in the file are loaded.

Public attributes ​

path ​

cpp
std::string path

Scene node path.

transform ​

cpp
Transform transform

Camera pose (scale is unused).

verticalFov ​

cpp
double verticalFov

Vertical field of view (deg). horizontalFov (deg), when positive, overrides the width derived from the aspect ratio. nearPlane and farPlane are the clip distances.

horizontalFov ​

cpp
double horizontalFov

nearPlane ​

cpp
double nearPlane

farPlane ​

cpp
double farPlane

width ​

cpp
int width

Image size (pixels).

height ​

cpp
int height

orthographic ​

cpp
bool orthographic

Orthographic instead of perspective projection.

RaiSim — physics for robotics and AI.