C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

class Camera

Defined in:  C4Cameras.h
The Camera class represents a camera node in a scene graph.
Definition

class Camera : public Node

Member Functions
Camera::GetCameraType Returns the camera type.
Camera::LookAtPoint Orients the camera so that it looks at a given point.
Camera::LookInDirection Orients the camera so that it looks in a given direction.
 
Camera::SphereVisible Returns a boolean value indicating whether a sphere is visible to the camera.
Camera::EllipsoidVisible Returns a boolean value indicating whether an ellipsoid is visible to the camera.
Camera::BoxVisible Returns a boolean value indicating whether a box is visible to the camera.
Camera::CylinderVisible Returns a boolean value indicating whether a cylinder is visible to the camera.
Constructor

Camera(CameraType type);

The constructor has protected access. A Camera class can only exist as the base class for a more specific type of camera.
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
Node A Camera node is a scene graph node.
See Also
CameraObject