Facebook Twitter YouTube

class FrustumCameraObject

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

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.
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 camera object.
See Also

FrustumCamera