Graphics Manager
C4CameraObjects.h

class CameraObject

The CameraObject class encapsulates data pertaining to a camera.
Definition

class CameraObject : public Object

Member Functions
CameraObject::GetCameraType Returns the type of a camera.
CameraObject::GetViewRect Returns the view rectangle.
CameraObject::SetViewRect Sets the view rectangle.
CameraObject::GetNearDepth Returns the near plane depth.
CameraObject::SetNearDepth Sets the near plane depth.
CameraObject::GetFarDepth Returns the far plane depth.
CameraObject::SetFarDepth Sets the far plane depth.
CameraObject::GetClearFlags Returns the clear flags.
CameraObject::SetClearFlags Sets the clear flags.
CameraObject::GetClearColor Returns the clear color.
CameraObject::SetClearColor Sets the clear color.
Constructor

CameraObject(CameraType type);

The constructor has protected access. The CameraObject class can only exist as the base class for another class.
Parameters
type The type of the camera. See below for a list of possible types.
Description


kCameraOrtho Orthographic camera.
kCameraFrustum Frustum (perspective) camera.
kCameraRemote Remote camera.
Base Classes
Object A CameraObject is an object that can be shared by multiple camera nodes.
See Also
Camera