Avara3D 0.2.0
C++ API reference
a3d::ext::TurntableCameraController::View Struct Reference

Camera orbit state around a target. More...

#include <a3d/extension/camera/TurntableCameraController.h>

Public Attributes

Target target {math::vec3 {0.0f}}
 Point around which the camera orbits. More...
 
float yaw {0.0f}
 Horizontal orbit angle in radians. More...
 
float pitch {0.0f}
 Vertical orbit angle in radians. More...
 
float distance {10.0f}
 Distance from the target in scene units. More...
 

Detailed Description

Camera orbit state around a target.

Definition at line 52 of file TurntableCameraController.h.

Member Data Documentation

◆ distance

float a3d::ext::TurntableCameraController::View::distance {10.0f}

Distance from the target in scene units.

Definition at line 57 of file TurntableCameraController.h.

◆ pitch

float a3d::ext::TurntableCameraController::View::pitch {0.0f}

Vertical orbit angle in radians.

Definition at line 56 of file TurntableCameraController.h.

◆ target

Target a3d::ext::TurntableCameraController::View::target {math::vec3 {0.0f}}

Point around which the camera orbits.

Definition at line 54 of file TurntableCameraController.h.

◆ yaw

float a3d::ext::TurntableCameraController::View::yaw {0.0f}

Horizontal orbit angle in radians.

Definition at line 55 of file TurntableCameraController.h.


The documentation for this struct was generated from the following file: