|
Mac OS 9
|
#include <QD3DCamera.h>
Data Fields | |
| TQ3CameraData | cameraData |
| float | viewPlane |
| float | halfWidthAtViewPlane |
| float | halfHeightAtViewPlane |
| float | centerXOnViewPlane |
| float | centerYOnViewPlane |
A perspective camera specified in terms of an arbitrary view plane.
This is most useful when setting the camera to look at a particular object. The viewPlane is set to distance from the camera to the object. The halfWidth is set to half the width of the cross section of the object, and the halfHeight equal to the halfWidth divided by the aspect ratio of the viewPort.
This is the only perspective camera with specifications for off-axis viewing, which is desirable for scrolling.