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
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
|