A3DGraphCameraData
-
struct
A3DGraphCameraData A complete description of a view point within a three-dimensional space (
A3DGraphCamera).2.0A 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.
If the aspect ratio of the viewport differs from
m_dXFovy / m_dYFovy, the visible area cannot match both extents. Each viewer application then applies its own fitting strategy. For example, Adobe Acrobat keeps the extent along the smaller dimension of the viewport:m_dXFovyis kept in a portrait viewport, andm_dYFovyin a landscape viewport.Index
Variables
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 field of view angle along the X axis, in radians (perspective), or half the visible width, in model units (orthographic).
-
A3DDouble
A3DGraphCameraData.m_dYFovy -
The field of view angle along the Y axis, in radians (perspective), or half the visible height, in model units (orthographic).
-
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.