Facebook Twitter YouTube

class FrustumCameraObject

Defined in:  TSCameraObjects.h
The FrustumCameraObject class encapsulates data pertaining to a camera using a perspective projection.

class FrustumCameraObject : public CameraObject

Member Functions
FrustumCameraObject::GetFrustumFlags Returns the frustum flags.
FrustumCameraObject::SetFrustumFlags Sets the frustum flags.
FrustumCameraObject::GetFocalLength Returns the focal length.
FrustumCameraObject::SetFocalLength Sets the focal length.
FrustumCameraObject::GetAspectRatio Returns the focal length.
FrustumCameraObject::SetAspectRatio Sets the focal length.

FrustumCameraObject(CameraType type);

FrustumCameraObject(CameraType type, float focal, float aspect);

FrustumCameraObject(float focal, float aspect);

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.

Base Classes
CameraObject A FrustumCameraObject is a specific type of camera object.
See Also