FormIt C++ API
v23.0.0 (2023.0.0)
|
Data used to pass camera information to and from ATF.
Note there is no camera object in WSM.
#include <GeometryDataContainers.h>
Public Attributes | |
bool | m_bIsPerspective = true |
True if the camera is perspective, otherwise parallel. More... | |
WSM::Point3d | m_eye |
The camera eye position. More... | |
WSM::UnitVector3d | m_direction |
The camera direction. More... | |
WSM::UnitVector3d | m_up |
The camera up direction. More... | |
double | m_orthoHeight = -1.0 |
The view height when in orthographic view. More... | |
double | m_horizontalFOV = -1.0 |
The horizontal field of view in radians used in perspective views. More... | |
bool WSM::ATFCameraData::m_bIsPerspective = true |
True if the camera is perspective, otherwise parallel.
WSM::UnitVector3d WSM::ATFCameraData::m_direction |
The camera direction.
WSM::Point3d WSM::ATFCameraData::m_eye |
The camera eye position.
double WSM::ATFCameraData::m_horizontalFOV = -1.0 |
The horizontal field of view in radians used in perspective views.
If negative, the value is not specified.
double WSM::ATFCameraData::m_orthoHeight = -1.0 |
The view height when in orthographic view.
Note we use a 1-1 aspect ratio for export.
WSM::UnitVector3d WSM::ATFCameraData::m_up |
The camera up direction.