class FrustumCameraObject
Defined in: C4CameraObjects.h
The FrustumCameraObject class encapsulates data pertaining to a camera using a perspective projection.
Definition
class FrustumCameraObject : public CameraObject
Member Functions
Constructor
FrustumCameraObject(CameraType type);
FrustumCameraObject(CameraType type, float focal, float aspect);
FrustumCameraObject(float focal, float aspect);
Parameters
type |
The camera type. This is only used when constructing a FrustumCameraObject as a base class for another camera object type.
|
focal |
The focal length of the perspective projection. This determines the field of view.
|
aspect |
The aspect ratio of the projection. This is normally the ratio between the height and the width of the viewport.
|
Description
Base Classes
CameraObject |
A FrustumCameraObject is a specific type of CameraObject.
|
See Also
FrustumCamera
|