dao::portraits::Camera
struct
A portrait camera, with one value per camera column of the portraits table.
A value left empty is taken from the table’s row for the creature. The camera aims at the model’s head node, is turned by the rotation and pitch, backed off by the distance, and then shifted by the Z and X adjustments.
Declared in dao/Portraits.h.
Fields
| Field | Type | |
|---|---|---|
distance |
std::optional<float> |
CameraDistance, in metres. |
lightX |
std::optional<float> |
LightXAdjust, the light’s x offset. |
lightY |
std::optional<float> |
LightYAdjust, the light’s y offset. |
lightZ |
std::optional<float> |
LightZAdjust, the light’s z offset. |
pitch |
std::optional<float> |
CameraPitch, in degrees. |
rotation |
std::optional<float> |
CameraRotation, in degrees. |
xAdjust |
std::optional<float> |
CameraXAdjust, a sideways shift. |
zAdjust |
std::optional<float> |
CameraZAdjust, a vertical shift. |