A3DGraphCameraData

struct A3DGraphCameraData

A complete description of a view point within a three-dimensional space (A3DGraphCamera).

2.0

A camera can be described as a virtual device within a three-dimensional space where properties allow a viewing application to generate a view point. A graphics application can use camera information to translate a graphics scene from world space to view, then projection space before submitting it to the next steps of its rendering pipeline.

Variables

A3DBool A3DGraphCameraData.m_bOrthographic

If A3D_TRUE, the projection is orthographic. If A3D_FALSE it is perspective.

A3DVector3dData A3DGraphCameraData.m_sLocation

The position of the camera in world space coordinates.

A3DVector3dData A3DGraphCameraData.m_sLookAt

The “look at” camera position, in world space coodinates.

A3DVector3dData A3DGraphCameraData.m_sUp

The camera “up” vector.

A3DDouble A3DGraphCameraData.m_dXFovy

The view angle in radians (perspective) of the view size (orthographic) along the X axis.

A3DDouble A3DGraphCameraData.m_dYFovy

The view angle in radians (perspective) of the view size (orthographic) along the Y axis.

A3DDouble A3DGraphCameraData.m_dAspectRatio

The X/_Y_ ratio in a perspective projection.

A3DDouble A3DGraphCameraData.m_dZNear

The distance from the viewer to the near clipping plane.

A3DDouble A3DGraphCameraData.m_dZFar

The distance from the viewer to the far clipping plane.

A3DDouble A3DGraphCameraData.m_dZoomFactor

A zoom factor which can be applied to the projection.