C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

class RemoteCameraObject

Defined in:  C4CameraObjects.h
The FrustumCameraObject class encapsulates data pertaining to a camera having a remote transform. Such cameras are used for rendering recursive view effects such as mirrors or portals through which a remote area of the world can be viewed.
Definition

class RemoteCameraObject : public FrustumCameraObject

Member Functions
RemoteCameraObject::GetRemoteTransform Returns the remote transform.
RemoteCameraObject::SetRemoteTransform Sets the remote transform.
RemoteCameraObject::GetRemoteDeterminant Returns a value indicating whether the remote transform contains a reflection.
RemoteCameraObject::GetRemoteClipPlane Returns the geometric clipping plane for the remote camera.
RemoteCameraObject::SetRemoteClipPlane Sets the geometric clipping plane for the remote camera.
Constructor

RemoteCameraObject(float focal, float aspect, const Transform4D& transform, const Vector4D& clipPlane);

Parameters
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.
transform The world-space remote transform. This is applied to the camera's world transform.
clipPlane The world-space geometric clipping plane.
Description


Base Classes
FrustumCameraObject An RemoteCameraObject is a specific type of FrustumCameraObject, and thus always uses a perspective projection.
See Also

RemoteCamera